-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
fix(vm): only set initialization.upgrade
attribute when not using custom cloud-init file
#1253
Conversation
Signed-off-by: Kai <nankeen@users.noreply.github.com>
initialization.upgrade
attribute when not using custom cloud-init file
Thanks for the PR @nankeen! I'm curious tho, why this bug is not triggered by the existing example resource that has custom files defined. I may need to take a deeper look at this, and try to reproduce the use case to make sure the fix addresses the issue. EDIT: just realized this is another cloning issue 🤦🏼 |
I think it is because the example resource isn't cloning an existing VM. |
Not that I'm against this fix by any means, but I have troubles reproducing this issue as described in #1252 I'm getting an OK response to the similar request: @nankeen could you possible shed some light on p.2 from your scenario:
What exactly was configured in the source VM? Would you mind sharing a redacted template? Also, what is your Proxmox VE version? |
I guess this is PVE 7.x -specific, see another case in #1263 |
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
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.
LGTM! 🚀
@all-contributors please add @nankeen for code |
I've put up a pull request to add @nankeen! 🎉 |
Contributor's Note
/docs
for any user-facing features or additions./fwprovider/tests
for any new or updated resources / data sources.make example
to verify that the change works as expected.Proof of Work
Ran this with the situation that caused me to report #1252
Community Note
Closes #1252
Closes #1263