我正在尝试从我创建的Ubuntu Server20镜像部署来自vRealize Automation8.2的VM。我已经将其配置为使用OVF数据源,但是在初始化期间,在/var/log/cloud-init-output.log配置了一些ssh密钥之后,我在/var/log/cloud-init-output.log中收到以下消息。
Cloud-init v. 20.3-2-g371b392c-0ubuntu1~20.04.1 running 'modules:config' at Thu, 22 Oct 2020 11:10:48 +0000. Up 54.17 seconds.
Cloud-init v. 20.3-2-g371b392c-0ubuntu1~20.04.1 running 'modules:final' at Thu, 22 Oct 2020 11:10:51 +0000. Up 57.52 seconds.
ci-info: no authorized SSH keys fingerprints found for user cloudadmin.
Cloud-init v. 20.3-2-g371b392c-0ubuntu1~20.04.1 finished at Thu, 22 Oct 2020 11:10:52 +0000. Datasource DataSourceNone. Up 58.65 seconds
2020-10-22 11:10:52,919 - cc_final_message.py[WARNING]: Used fallback datasource因此,cloud-init不会执行我在Blueprint中指定的任何命令,因此会创建任何用户并安装包。在创建映像之前,我对VM应用的唯一配置是"dpkg-reconfigure cloud-init“,并选择了OVF选项。etc/cloud/cloud.cfg.d/90_dpkg.cfg如下所示
# to update this file, run dpkg-reconfigure cloud-init
datasource_list: [ OVF ]发布于 2020-11-27 03:02:39
查看ubuntu中的/etc/cloud/cloud.cfg.d/99-installer.cfg,它覆盖了包括datasource_list在内的一些参数
https://stackoverflow.com/questions/64486060
复制相似问题