Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
a115eead
Commit
a115eead
authored
Sep 24, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM SR: Resiliency: Don't stop import if destination file does not exist.
Reverts part of
be3b061c
parent
de8d7962
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
software/kvm/common.cfg
software/kvm/common.cfg
+1
-1
software/kvm/template/kvm-import.sh.in
software/kvm/template/kvm-import.sh.in
+1
-1
No files found.
software/kvm/common.cfg
View file @
a115eead
...
...
@@ -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
...
...
software/kvm/template/kvm-import.sh.in
View file @
a115eead
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment