Skip to content
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

destroy_cloud_config_vdi_after_boot deletes the cloud config VDI too soon #325

Open
wkleinhenz opened this issue Apr 24, 2024 · 0 comments

Comments

@wkleinhenz
Copy link

Currently Im using cloud config files to bootstrap a VM Image created using packer. this is mainly being used to set host specific things like the network configuration and host name. when using
destroy_cloud_config_vdi_after_boot = true, the expected_ip_cidr setting and the default power_state setting which i believe is Running the cloud config VDI is deleted as soon as it meets the running state, but this means that the VM isn't able to access the cloud config files.

Proposed changes:

  • have the provider wait a configurable number of seconds before deleting the cloud config VDI after it reaches the running state
  • have the provider wait a configurable number of seconds before deleting the cloud config VDI after the expected_ip_cidr returns that the VM is ready
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant