summaryrefslogtreecommitdiff
path: root/build-vm-zvm
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-03-18 16:20:41 +0100
committerMichael Schroeder <mls@suse.de>2014-03-18 16:20:41 +0100
commit8601be306cb332afda4f00261a8b5572281ac1bb (patch)
treecb844f85d52cd4716a909bcad5ee1a814b3a04a0 /build-vm-zvm
parent8c9c5d141cf6ed3d41d4c0341134f8a3087ae0a8 (diff)
be faster if link_local fails
Diffstat (limited to 'build-vm-zvm')
-rw-r--r--build-vm-zvm4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-vm-zvm b/build-vm-zvm
index 461de90..2bbabe6 100644
--- a/build-vm-zvm
+++ b/build-vm-zvm
@@ -315,7 +315,7 @@ vm_fixup_zvm() {
}
vm_attach_root_zvm() {
- VM_IMAGE=$(zvm_cp volume_link_local $VM_WORKER $VM_VOLUME_ROOT $zvm_mult_pass $VM_WORKER_NR )
+ VM_IMAGE=$(ZVM_CLEANUP=1 zvm_cp volume_link_local $VM_WORKER $VM_VOLUME_ROOT $zvm_mult_pass $VM_WORKER_NR )
if test "${VM_IMAGE}" = "${VM_IMAGE#dasd}" ; then
echo "did not get a real device for VM_IMAGE: $VM_IMAGE"
cleanup_and_exit 3
@@ -324,7 +324,7 @@ vm_attach_root_zvm() {
}
vm_attach_swap_zvm() {
- VM_SWAP=$(zvm_cp volume_link_local $VM_WORKER $VM_VOLUME_SWAP $zvm_mult_pass $VM_WORKER_NR )
+ VM_SWAP=$(ZVM_CLEANUP=1 zvm_cp volume_link_local $VM_WORKER $VM_VOLUME_SWAP $zvm_mult_pass $VM_WORKER_NR )
if test "${VM_SWAP}" = "${VM_SWAP#dasd}" ; then
echo "did not get a real device for VM_SWAP: $VM_SWAP"
cleanup_and_exit 3