-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question about cloud-init #588
Comments
@MattPumphrey Here is a official VMware version for implementing: https://github.com/akutz/cloud-init-vmware-guestinfo I haven't tested with Terraforms extra_config as yet but looks like it should work well. Doesn't require OVF template or vApp. Thanks to @akutz |
No problem! Glad someone’s using it. If you check out https://github.com/akutz/yake2e, you’ll see it in use with TF and extra config :) |
Here’s a line where it’s injected - |
Found it. Just going to paste in a Slack chat:
|
Thanks @MnrGreg & @akutz. Thats some real interesting info on cloud init. @MattPumphrey Does using https://github.com/akutz/cloud-init-vmware-guestinfo resolve your problem for you? |
This is alot of really interesting information, I have yet to test this out, however you can close this as it has given me a lot more information than I previously had on how to successfully get my VMs deployed in this manner! Thanks @MnrGreg & @akutz @bill-rich thanks for all your help! |
Hello, |
So, I have been working through a problem, and I have been trying to use cloud-init to bootstrap my vms, while, I can see on the VMs that the cloud-init userdata is being passed into the vmtoolsd guestinfo namespace when I use the extra_config options
here is my template
The files do not actually get written to the file system, I have tried creating the userdata.txt and mounting it as an ISO from the datastore and that fails as well. Do I need to have the CDrom added as a client device and then use the extra_config options for this to work? If someone has been successful on doing this and can point me in the right direction that would be much appreciated. To give a little background, we are building our images via Packer, and soon to be Ansible and packer for a base build with Chef doing the final provisioning.
I have even tried to use this, https://github.com/xing/cloudinit-vmware-guestinfo but it also fails for me. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: