--- lxc-clone 2011-09-02 11:37:18.000000000 -0700 +++ lxc-clone.new 2011-09-14 10:47:10.552517076 -0700 @@ -144,7 +144,7 @@ echo "Tweaking configuration" cp $lxc_path/$lxc_orig/config $lxc_path/$lxc_new/config sed -i '/lxc.utsname/d' $lxc_path/$lxc_new/config -echo "lxc.utsname = $hostname" >> $lxc_path/$lxc_new/config +echo "lxc.utsname = $lxc_new" >> $lxc_path/$lxc_new/config sed -i '/lxc.mount/d' $lxc_path/$lxc_new/config echo "lxc.mount = $lxc_path/$lxc_new/fstab" >> $lxc_path/$lxc_new/config