Hi everyone,
I’m trying to clone a vm with a cloud-init customization but i don’t know how to put the cloud-init in the userdata string.
Thanks for you help
Hi everyone,
I’m trying to clone a vm with a cloud-init customization but i don’t know how to put the cloud-init in the userdata string.
Thanks for you help
Hey
Hey
Hey
Have you figured this out?
The spec for cloud_init should be like this.
"guest_customization": {
"cloud_init": {
"user_data":"<BASE64_ENCODED_CLOUD-INIT_SCRIPT_STRING>"
},
"is_overridable": false
}
For the string, it can be shell script/JSON file but it must be base64 encoded.
Take a look at solution 2 of -
https://portal.nutanix.com/page/documents/kbs/details?targetId=kA00e000000CshJCAS
Hey
Let us know here if you need any help.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.