aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInformatiQ <rhanna@informatiq.org>2011-09-01 22:24:30 +0200
committerDaniel Lezcano <dlezcano@fr.ibm.com>2011-09-01 22:24:30 +0200
commitf7b98d38f042c403114fd07187dfe7daed44bdda (patch)
treec341a86cf7395bd5aa6a98affae8308650e7277e /templates/lxc-fedora.in
parentif after freezing the container the snapshot/rsync fails, unfreeze before exi... (diff)
downloadlxc-f7b98d38f042c403114fd07187dfe7daed44bdda.tar.gz
lxc-f7b98d38f042c403114fd07187dfe7daed44bdda.tar.bz2
lxc-f7b98d38f042c403114fd07187dfe7daed44bdda.zip
remove the check for container path as it's done in lxc-create
Signed-off-by: InformatiQ <rhanna@informatiq.org> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Diffstat (limited to 'templates/lxc-fedora.in')
-rw-r--r--templates/lxc-fedora.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in
index 48cb1c0..d35600a 100644
--- a/templates/lxc-fedora.in
+++ b/templates/lxc-fedora.in
@@ -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"