diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-12-28 17:33:18 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-12-28 17:33:18 +0200 |
commit | 809ed387367c97f39ed5ae1c41f56720b0505ef8 (patch) | |
tree | 815e2914fa9b20ed2cd47815e8c864f732f90378 /ansible/roles/vmhost-minimal | |
parent | 632f8b376e1dccf90c9a40301e412d54f2cc38fa (diff) | |
download | ansibleness-809ed387367c97f39ed5ae1c41f56720b0505ef8.tar.gz |
exolobe5, vmhost-minimal: adjust for freshly reinstalled server
Sponsored-by: author
Diffstat (limited to 'ansible/roles/vmhost-minimal')
-rw-r--r-- | ansible/roles/vmhost-minimal/tasks/main.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ansible/roles/vmhost-minimal/tasks/main.yml b/ansible/roles/vmhost-minimal/tasks/main.yml index f0c479f..127b233 100644 --- a/ansible/roles/vmhost-minimal/tasks/main.yml +++ b/ansible/roles/vmhost-minimal/tasks/main.yml @@ -5,8 +5,17 @@ - virtinst - libvirt-daemon-system - libvirt-clients +# - libnss-libvirt + - vmadm - name: "enable nested KVM if possible" copy: src: kvm-nested.conf dest: /etc/modprobe.d/kvm-nested.conf + +# - name: "add libvirt_guest to /etc/nsswitch.conf" +# shell: | +# if awk '$1 == "hosts:" && !/libvirt_guest/' /etc/nsswitch.conf | grep . +# then +# sed -i '/hosts:/s/files /files libvirt libvirt_guest /' /etc/nsswitch.conf +# fi |