mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-12 11:54:45 +00:00
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>
This commit is contained in:
parent
ac70c6cf97
commit
f7b98d38f0
@ -330,11 +330,6 @@ rootfs_path=$path/$name/rootfs
|
|||||||
config_path=$default_path/$name
|
config_path=$default_path/$name
|
||||||
cache=$cache_base/$release
|
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()
|
revert()
|
||||||
{
|
{
|
||||||
echo "Interrupted, so cleaning up"
|
echo "Interrupted, so cleaning up"
|
||||||
|
Loading…
Reference in New Issue
Block a user