diff options
author | Guilhem Moulin <guilhem@libreoffice.org> | 2016-10-21 14:18:36 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@libreoffice.org> | 2016-10-21 14:18:36 +0200 |
commit | f8430a414f661aa407647bc5e456bad8a657da49 (patch) | |
tree | dd32acc886f28691d005936a893e0e49c01d7363 | |
parent | e324d0869ac128eae33ab34cb360570290d851c0 (diff) |
Configure a security label.
Cf. https://libvirt.org/formatdomain.html#seclabel
-rwxr-xr-x | tdfvm-install | 1 |
1 files changed, 1 insertions, 0 deletions
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" \ |