[Lxc-users] [PATCH] remove the check for container path as it's done in lxc-create

Ramez Hanna rhanna at informatiq.org
Thu Sep 1 12:02:32 UTC 2011


On Thu, Sep 1, 2011 at 3:00 PM,  <rhanna at informatiq.org> wrote:
> 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
>
>

sent from git-send-email ;)
--
BR
RH




More information about the lxc-users mailing list