通过 OVA 部署的 Ubuntu 19.04 的凭据是什么?

What are the credentials for Ubuntu 19.04 deployed via OVA?

我已经使用 ovftool:

部署了 Ubuntu 19.04 OVA from the Ubuntu website
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>

但是,当我尝试登录虚拟机时,密码 password 被拒绝。我假设用户是 ubunturoot,但为两者提供的密码均失败。 OVF文件中没有属性指定用户。

原来 ESXi 会忽略 OVF 数据,除非在使用 ovftool 时您提供了未记录的标志 --X:injectOvfEnv,如此处 https://www.virtuallyghetto.com/2014/06/an-alternate-way-to-inject-ovf-properties-when-deploying-virtual-appliances-directly-onto-esxi.html 所述,或者在使用 govc 时您设置"InjectOvfEnv": true 规范 JSON.