Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

Using ovftool to import VMs during kickstart fails

$
0
0

Using kickstart to automate ESXi host installation. All commands in the ks.cfg file are executed and the host installs successfully. However the commands specified in the ks.cfg file for importing VMs via OVAs and ovftool are either failing or not executing. Ovftool is version 4.3, extracted from tarball to datastore1/vmware-ovftool folder during kickstart.

 

The same command that doesn't work in ks.cfg works fine in SSH and ESXi shell after host installation finishes:

 

sh ./vmfs/volumes/datastore1/vmware-ovftool/ovftool -dm=thin -ds=datastore1 --noSSLVerify "/vmfs/volumes/datastore1/OVA/VM1.ova" "vi://root:P@ssword@localhost"

 

The /var/log/weasel.log file does not exist on the host after kickstart installation. Is there another log available that records errors from failed commands executed in ks.cfg file I can check to help troubleshoot this issue? Or can I enable some type of logging within the kickstart file (ks.cfg)?

 

ESXi version is 6.7U1.

 

Thanks in advance for any assistance you may be able to provide.


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>