From 93850b7577c51f8b06a4c0bc3ef58068e5541e06 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 23 Jan 2014 14:54:16 +0100 Subject: [PATCH] =?utf8?q?don=E2=80=99t=20keep=20xml=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lbuild-initvm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.43.0