From: Thierry Parmentelat Date: Thu, 23 Jan 2014 13:54:16 +0000 (+0100) Subject: don’t keep xml file X-Git-Tag: before_libvirt_121~38 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=93850b7577c51f8b06a4c0bc3ef58068e5541e06 don’t keep xml file --- diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index 45fdb8d8..16180889 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -575,7 +575,8 @@ function setup_lxc() { mkdir $rootfs_path/root/.ssh cat /root/.ssh/id_rsa.pub >> $rootfs_path/root/.ssh/authorized_keys - config_xml=$config_path/"lxc.xml" + # don't keep the input xml, this can be retrieved at all times with virsh dumpxml + config_xml=$tmp/$lxc.xml ( [ -n "$BUILD_MODE" ] && write_lxc_xml_build $lxc || write_lxc_xml_test $lxc ) > $config_xml # define lxc container for libvirt