]> git.proxmox.com Git - mirror_lxc.git/commitdiff
remove the check for container path as it's done in lxc-create
authorInformatiQ <rhanna@informatiq.org>
Thu, 1 Sep 2011 20:24:30 +0000 (22:24 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 1 Sep 2011 20:24:30 +0000 (22:24 +0200)
Signed-off-by: InformatiQ <rhanna@informatiq.org>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
templates/lxc-fedora.in

index 48cb1c07d717db6b95755da941f082b18ce4e3ab..d35600afc65e9528a0ef389b7ab51eb428c60015 100644 (file)
@@ -330,11 +330,6 @@ rootfs_path=$path/$name/rootfs
 config_path=$default_path/$name
 cache=$cache_base/$release
 
-if [ -f $config_path/config ]; then
-    echo "A container with that name exists, chose a different name"
-    exit 1
-fi
-
 revert()
 {
     echo "Interrupted, so cleaning up"