[Lxc-users] [PATCH] remove the check for container path as it's done in lxc-create
rhanna at informatiq.org
rhanna at informatiq.org
Thu Sep 1 12:00:51 UTC 2011
From: InformatiQ <rhanna at informatiq.org>
Signed-off-by: InformatiQ <rhanna at informatiq.org>
---
templates/lxc-fedora.in | 5 -----
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"
--
1.7.6
More information about the lxc-users
mailing list