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

Implement a option to reinstall a vm #26

Merged
merged 3 commits into from
Mar 14, 2018
Merged

Conversation

Mr-Pi
Copy link
Contributor

@Mr-Pi Mr-Pi commented Mar 14, 2018

This also closes #19
Please merge and rebase #24 before, to avoid merge conflicts

@Mr-Pi Mr-Pi mentioned this pull request Mar 14, 2018
@Mr-Pi Mr-Pi force-pushed the auto_reinstall branch 2 times, most recently from 24ec1d9 to 1df7a4e Compare March 14, 2018 22:23
README.md Outdated
@@ -115,6 +115,7 @@ VMs are defined as elements of the `xen_vman_vms` list.
| `max_usb_redirections` | integer | N | (For HVM VMs only) Maximum amount of USB redirections |
| `additional_xen_options` | xl.cfg key value dict | N | Add additional Xen options[²](#xen_doc) |
| `auto_install` | boolean | N | Install specified OS automatically, when no xen configuration is found |
| `reinstall` | boolean | N | Reinstall the VM every Time ansible is running when set to `True` |
Copy link
Contributor

Choose a reason for hiding this comment

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

*time

@@ -9,11 +22,16 @@
shell: mkfs.{{ vm.filesystem|default(xen_vman_default_filesystem) }} "/dev/disk/by-path/ip-{{ xen_vman_iscsi_server }}-iscsi-{{ xen_vman_iscsi_base_wwn }}:{{ vm.org }}-{{ vm.name }}-lun-0"
when: vm.storage_type|default(xen_vman_default_storage_type) == "iscsi"

- name: Make sure VM root is mounted
- name: Make sure VM({{ vm.name }} @{{ vm.org }}) root is mounted
Copy link
Contributor

Choose a reason for hiding this comment

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

space

@SlothOfAnarchy SlothOfAnarchy merged commit 865db3e into master Mar 14, 2018
@SlothOfAnarchy SlothOfAnarchy deleted the auto_reinstall branch March 14, 2018 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automated vm reinstallation
2 participants