KVM SR: Resiliency: Don't stop import if destination file does not exist.

Reverts part of be3b061c
parent de8d7962
......@@ -117,7 +117,7 @@ mode = 0644
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/kvm-import.sh.in
filename = kvm-import.sh.in
md5sum = a731372420dc59c0b5ba7bc5f39a14ad
md5sum = e03ed049cddd8d157228b09e1ebc071a
download-only = true
mode = 0755
......
......@@ -3,5 +3,5 @@ DISK_PATH=${:disk-path}
BACKUP_PATH=${:backup-disk-path}
# TODO: Use rdiff
rm $DISK_PATH && \
rm $DISK_PATH
cp $BACKUP_PATH $DISK_PATH
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment