-
Notifications
You must be signed in to change notification settings - Fork 546
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
feat: cloud init disk resource #748
Conversation
8e875af
to
f5c689d
Compare
b788e92
to
a5fb6fe
Compare
added docs now, so I think it's ready for review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great contribution, I left some comments otherwise LGTM
b3aa2a1
to
dfff6aa
Compare
d4cf61c
to
9c3d90f
Compare
9c3d90f
to
0eed34a
Compare
0df248f
to
5132d42
Compare
before merge we prob need the fix in the go-api as well. Telmate/proxmox-api-go#254 |
I guess this can be merged then. Will not 100% work in all cases until we get the new reworked disk handling in the go API into this project. |
Note: this update requires
|
This new resource creates/manage cloud-init configdrive as ISO-files. It generates a cloud-init iso and uploads it to proxmox. This enables a wider/more advanced support for cloud-init then Proxmox currently supports.
To use the generated cloud-init iso, VMs just need to define a
disk
block withtype=ide
,media=cdrom
andvolume=proxmox_cloud_init_disk.<my_ci_resource>.id
parameters.Need to add docs before it's ready to be merged. But a first review would be helpful.
example: