我已经使用Ubuntu 19.04 OVA from the Ubuntu website部署了ovftool
:
ovftool \
--acceptAllEulas \
--name=djtest \
--prop:password=password \
--datastore=datastore1 \
--net:"VM Network"="VM Internal Network 1" \
ubuntu-19.04-server-cloudimg-amd64.ova \
<URL redacted>
但是,当我尝试登录VM时,密码password
被拒绝。我假设用户是ubuntu
或root
,但是提供的密码都失败。 OVF文件中没有用于指定用户的属性。
结果,除非您提供未记录的标志--X:injectOvfEnv
,否则ESXi会忽略OVF数据,如下所述:https://www.virtuallyghetto.com/2014/06/an-alternate-way-to-inject-ovf-properties-when-deploying-virtual-appliances-directly-onto-esxi.html