From: Tim Rozet Date: Fri, 5 May 2017 15:36:35 +0000 (-0400) Subject: Apex: Converts machine type for snapshot deploys to 'pc' X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F77%2F34377%2F1;p=releng.git Apex: Converts machine type for snapshot deploys to 'pc' Change-Id: Ic996d49b161af23184fbbce4812c103a158ebef2 Signed-off-by: Tim Rozet --- diff --git a/jjb/apex/apex-snapshot-deploy.sh b/jjb/apex/apex-snapshot-deploy.sh index 06c002319..3eb3cf23a 100644 --- a/jjb/apex/apex-snapshot-deploy.sh +++ b/jjb/apex/apex-snapshot-deploy.sh @@ -129,6 +129,7 @@ if [ -z "$virsh_vm_defs" ]; then fi for node_def in ${virsh_vm_defs}; do + sed -ri "s/machine='[^\s]+'/machine='pc'/" ${node_def} sudo virsh define ${node_def} node=$(echo ${node_def} | awk -F '.' '{print $1}') sudo cp -f ${node}.qcow2 /var/lib/libvirt/images/