Skip to content

add UUID options #59

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

Merged
merged 4 commits into from
Jul 2, 2020
Merged

add UUID options #59

merged 4 commits into from
Jul 2, 2020

Conversation

raspbeguy
Copy link
Contributor

I noticed that the only way to makes changes to an exiting VM (e.g. adding some memory, adding a NIC, etc...) is to re-define the VM with an XML containing the UUID. So I added the possibility to manually give an UUID or let Ansible generate one by hashing the VM name.

  • libvirt_vm_default_uuid_deterministic is the default setting for all the VMs. Default to false not to break existing setups.
  • For each VM, you can manually setup an UUID with uuid property.
  • For each VM, you can override libvirt_vm_default_uuid_deterministic with uuid_deterministic property.

Copy link

@markgoddard markgoddard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice idea

@raspbeguy raspbeguy requested a review from markgoddard July 2, 2020 10:59
Copy link

@markgoddard markgoddard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@markgoddard markgoddard merged commit 497acd1 into stackhpc:master Jul 2, 2020
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

Successfully merging this pull request may close these issues.

2 participants