From f8430a414f661aa407647bc5e456bad8a657da49 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 21 Oct 2016 14:18:36 +0200 Subject: Configure a security label. Cf. https://libvirt.org/formatdomain.html#seclabel --- tdfvm-install | 1 + 1 file changed, 1 insertion(+) diff --git a/tdfvm-install b/tdfvm-install index 0497e98..052e173 100755 --- a/tdfvm-install +++ b/tdfvm-install @@ -237,6 +237,7 @@ virt-install -q --connect "$LIBVIRT_URI" \ --disk "$DISK,bus=virtio" \ --channel "unix,target_type=virtio,name=org.qemu.guest_agent.0" \ --rng "random,device=/dev/random,model=virtio,rate_bytes=512" \ + --security "type=static,model=dac,label=libvirt-qemu:libvirt-qemu,relabel=no" \ --filesystem "source=$VMTMPDIR/virtfs,target=virtfs" \ --network "$NETWORK" \ --graphics "$GRAPHICS" \ -- cgit v1.2.3