1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

M #-: Don't fail if link exists (#897)

This commit is contained in:
Jan Orel 2021-03-02 10:15:07 +01:00 committed by GitHub
parent 83fd1dc27c
commit 54889e2918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,7 +203,7 @@ function create_base() {
mkdir -p $DST_PATH.snap
cd $DST_PATH.snap
ln -f -s . $DST_FILE.snap
ln -f -s . $DST_FILE.snap ||:
$COPY $SRC_PATH base
qemu-img create -b $DST_FILE.snap/base -f qcow2 base.1
ln -f -s $DST_FILE.snap/base.1 $DST_PATH