Code Review
/
releng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f49d86b
)
Apex: Converts machine type for snapshot deploys to 'pc'
77/34377/1
author
Tim Rozet
<trozet@redhat.com>
Fri, 5 May 2017 15:36:35 +0000
(11:36 -0400)
committer
Tim Rozet
<trozet@redhat.com>
Fri, 5 May 2017 15:36:35 +0000
(11:36 -0400)
Change-Id: Ic996d49b161af23184fbbce4812c103a158ebef2
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex-snapshot-deploy.sh
patch
|
blob
|
history
diff --git
a/jjb/apex/apex-snapshot-deploy.sh
b/jjb/apex/apex-snapshot-deploy.sh
index
06c0023
..
3eb3cf2
100644
(file)
--- 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/