windows-VMs need to know the domain to contact the kms server
This commit is contained in:
parent
246c409091
commit
5f088511c4
1 changed files with 6 additions and 0 deletions
|
@ -50,6 +50,12 @@
|
||||||
dest: /usr/local/sbin/pam-umount.sh
|
dest: /usr/local/sbin/pam-umount.sh
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
|
- name: Insert domain in default-network
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/libvirt/qemu/networks/autostart/default.xml
|
||||||
|
line: ' <domain name="{{ ansible_domain }}" localOnly="no"/>'
|
||||||
|
insertafter: '<mac '
|
||||||
|
|
||||||
- name: Autostart default network for VMs
|
- name: Autostart default network for VMs
|
||||||
file:
|
file:
|
||||||
src: /etc/libvirt/qemu/networks/default.xml
|
src: /etc/libvirt/qemu/networks/default.xml
|
||||||
|
|
Loading…
Add table
Reference in a new issue