update
This commit is contained in:
parent
46fe41189c
commit
2cd1cf5afc
4 changed files with 37 additions and 0 deletions
11
ansible/scripts/configure_qemu.yml
Normal file
11
ansible/scripts/configure_qemu.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
- name: set default network
|
||||
shell: "{{ item }}"
|
||||
with_items:
|
||||
- "virsh net-start default"
|
||||
- "virsh net-autostart default"
|
||||
ignore_errors: yes
|
||||
|
||||
- name: add user to libvirt
|
||||
user:
|
||||
name: user
|
||||
groups: libvirt,libvirt-qemu,kvm,input,disk
|
||||
Loading…
Add table
Add a link
Reference in a new issue