From b8628cae134caf4bf61aa949654754a36a5a0c3a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 8 Oct 2023 11:59:42 +0300 Subject: vmadm-dev: fix libvirt default network Setting up the default network stopped working. Now it works, but only after the host is rebooted. I'm too tired to figure out what broken, this'll do. Sponsored-by: author --- ansible/vmadm-dev.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ansible/vmadm-dev.yml') diff --git a/ansible/vmadm-dev.yml b/ansible/vmadm-dev.yml index af5c633..4d37461 100644 --- a/ansible/vmadm-dev.yml +++ b/ansible/vmadm-dev.yml @@ -43,12 +43,10 @@ group: liw mode: 0644 - virt_net: + xml: /usr/share/libvirt/networks/default.xml name: default + command: define autostart: yes - - virt_net: - name: default - command: start - state: active - user: name: liw groups: -- cgit v1.2.1