add
This commit is contained in:
@@ -137,6 +137,22 @@
|
||||
- /var/lib/libvirt/dnsmasq/default.conf
|
||||
ignore_errors: true
|
||||
|
||||
- name: foo
|
||||
shell: |
|
||||
# https://pypi.org/project/negotiator-common/#on-kvm-qemu-guests
|
||||
GUEST_NAME="gentoo_vm-2" # or gentoo_overlay-2
|
||||
cat > /dev/null << EOF
|
||||
<channel type='unix'>
|
||||
<source mode='bind' path='/var/lib/libvirt/qemu/channel/target/$GUEST_NAME.negotiator-host-to-guest.0' />
|
||||
<target type='virtio' name='negotiator-host-to-guest.0' />
|
||||
</channel>
|
||||
|
||||
<channel type='unix'>
|
||||
<source mode='bind' path='/var/lib/libvirt/qemu/channel/target/$GUEST_NAME.negotiator-guest-to-host.0' />
|
||||
<target type='virtio' name='negotiator-guest-to-host.0' />
|
||||
</channel>
|
||||
EOF
|
||||
|
||||
when:
|
||||
- "'libvirt' in TOXCORE_FEATURES" # or 'lxd' in TOXCORE_FEATURES"
|
||||
- ( ansible_virtualization_type is not defined or
|
||||
|
||||
Reference in New Issue
Block a user