Skip to content
Snippets Groups Projects
Commit 5bd9d2da authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

libvirt: start default network

parent 4fc2ccfa
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,11 @@
- name: autostart default network on boot
file: src=/etc/libvirt/qemu/networks/default.xml dest=/etc/libvirt/qemu/networks/autostart/default.xml state=link owner=root group=root
register: default_network
- name: start and enable libvirtd
systemd: name=libvirtd enabled=yes state=started daemon_reload=yes
- name: start default network
command: virsh net-start default
when: default_network.changed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment