In this episode, Sean Donahue is joined by Al Solorzano of E360 to discuss the worst disasters they've recovered from. Surprise twist, not all clouds are cumulonimbus and not all disasters are natural.<\/p><\/oembed>

Resources<\/p>

解决了

ACLI-如何更新VM的自定义脚本/用户数据?

  • 2021年3月16日
  • 2个答复
  • 287意见

徽章

是否有更新VM自定义脚本/用户数据的命令?

我尝试了以下操作,但行之有效:

vm.update my-vm cloudinit_userdata_path = file:///tmp/user-data.txt

图标

最好的答案阿罗纳2021年3月18日,05:40

Hi adnil,<\/p>

\u00a0<\/p>

I am a little confused by the question. Cloud-init is used during initial VM creation or cloning (again, creation of the VM). You are looking to update VM\u2019s Cloud-init script?<\/p>

Acropolis Command-Line Interface (aCLI): vm.update<\/a> has a full set of vm.update parameters and cloudinit_userdata_path is not one of them.<\/p>

Take a look at this thread ncli create vm with custom script to pass in cloudinit<\/a>. Let me know if that helps.<\/p>","className":"post__content__best_answer"}">

查看原件

该主题已关闭以供评论

2个答复

UserLevel 6
徽章 +5

嗨,阿德尼尔,

我对这个问题有些困惑。在初始VM创建或克隆(再次,创建VM)期间,使用云机构。您正在寻找更新VM的云量脚本吗?

雅典卫城命令行界面(ACLI):vm.update具有完整的vm。

看看这个线程NCLI使用自定义脚本创建VM,以传递CloudInit。让我知道这是否有帮助。

徽章

@Alona- 感谢您的回复。I see in Nutanix, there is the ‘custom script’ feature and I was hoping it would provide the same capability like in AWS and Azure where if you power off the vm, you can edit the ‘custom user data’ and re-power the vm so that it takes the update. But looking thru the cli doc link you provided, it doesn’t seem Nutanix has such a feature for vm update.

Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu