X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lbuild-initvm.sh;h=16180889b330cd86443936491943041cb8dc58e9;hb=93850b7577c51f8b06a4c0bc3ef58068e5541e06;hp=45fdb8d89bfe72aab7839e2223993b6a3e0571c8;hpb=541e6307cb009ce5cf94e36b394128c3e282e027;p=build.git 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