summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-05-05 11:36:35 -0400
committerTim Rozet <trozet@redhat.com>2017-05-05 11:36:35 -0400
commit4cd8a1e401e660af7f0f519c8217709650d4515a (patch)
tree4013e1b26289e9750366db169e3be287c9bfeaf4 /jjb
parentf49d86bbc83fa0a7c38728a2503a970a32f94f88 (diff)
Apex: Converts machine type for snapshot deploys to 'pc'
Change-Id: Ic996d49b161af23184fbbce4812c103a158ebef2 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/apex/apex-snapshot-deploy.sh1
1 files changed, 1 insertions, 0 deletions
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/