diff options
author | Guilhem Moulin <guilhem@libreoffice.org> | 2016-11-02 15:21:05 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@libreoffice.org> | 2016-11-02 15:21:05 +0100 |
commit | b70b43279f070df5fd75b7eb247121f46a13195e (patch) | |
tree | 83d18203dfd5a2d4aa2a15fc7e9fad60fedc34ec | |
parent | 32d2b26ed464aec30b9ffc339ffc5c609c69f139 (diff) |
xmlstarlet: Omit XML declaration.
To match output of `virsh dumpxml`.
-rwxr-xr-x | tdfvm-install | 2 |
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" \ |