Replies: 3 comments
-
Hi,
Yes, Vagrant can attach disks to VM. Refer Documentation Disks
Yes, Vagrant supports cloud-init via inline content or file. Refer Documentation cloud-init if you are looking to add cloud-init during the VM build time, please check out UTM Packer cloud builder. |
Beta Was this translation helpful? Give feedback.
-
What my use case is is that we have an existing template that has a CD/DVD drive added, but would like to attach a custom generated ISO in the DVD drive at boot for the cloud init data, and after the cloud init phase has completed, detach/eject the ISO from the drive. This would allow the CIDATA content to be fed to the system during boot up so it can apply the IP info to the system |
Beta Was this translation helpful? Give feedback.
-
What you described is exactly what happens in UTM Packer cloud builder. For your use case, I think starting with Packer to build the VM box and then use it with Vagrant tp manage that VM. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Working on emulating our production build approach using cloud-init in the VM and need to see if I can attach and detach an ISO at boot for the CIDATA content for it. I don't see an example for this with the provider, so I'm wondering if it is supported
Beta Was this translation helpful? Give feedback.
All reactions