aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtdfvm-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdfvm-install b/tdfvm-install
index 56fd90f..e1091fb 100755
--- a/tdfvm-install
+++ b/tdfvm-install
@@ -292,7 +292,7 @@ virsh -c "$LIBVIRT_URI" create "$VMDIR/$VM_NAME.xml"
# never boot again on CDROM, detach unnecessary devices and remove
# unnecessary controllers
-xmlstarlet edit --inplace \
+xmlstarlet edit --omit-decl --inplace \
--delete "/domain/os/boot[@dev='cdrom']" \
--delete "/domain/devices/disk[@type='file'][@device='cdrom']" \
--delete "/domain/devices/sound" \