summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2016-06-13 22:19:32 -0400
committerFeng Pan <fpan@redhat.com>2016-06-15 08:36:56 -0400
commit32e774931b7f697f0825e99247787df1caee4c55 (patch)
tree69b70539aa5552106bfa8b1fbc8a2899fe057cbe /ci
parent2ad6cb27db57a090d7b0e7fcf85aa363f9237684 (diff)
Change virtual deployment VMs nic model to virtio for dpdk support
Also make sure we update ipxe-roms-qemu to support pxe booting VMs with multiple virtio interfaces defined (bz 1234601). JIRA: APEX-119 Change-Id: I6fdecbd365450dec80e41f8407498d884b0bd79e Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh2
-rwxr-xr-xci/dev_deploy_check.sh6
2 files changed, 7 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 5fcc3887..ab51a1f5 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -527,7 +527,7 @@ EOF
for n in private_network public_network storage_network api_network; do
if [[ $enabled_network_list =~ $n ]]; then
echo -n "$n "
- virsh attach-interface --domain baremetal${i} --type network --source $n --model rtl8139 --config
+ virsh attach-interface --domain baremetal${i} --type network --source $n --model virtio --config
fi
done
else
diff --git a/ci/dev_deploy_check.sh b/ci/dev_deploy_check.sh
index 8ba46ab0..831ff1fd 100755
--- a/ci/dev_deploy_check.sh
+++ b/ci/dev_deploy_check.sh
@@ -25,6 +25,12 @@ if ! sudo yum $rdo_action -y https://www.rdoproject.org/repos/rdo-release.rpm;
exit 1
fi
+# update ipxe-roms-qemu
+if ! sudo yum update -y ipxe-roms-qemu; then
+ echo "Failed to update ipxe-roms-qemu package..."
+ exit 1
+fi
+
# check for other packages
for i in epel-release python34-PyYAML openvswitch openstack-tripleo libguestfs libguestfs-tools-c libvirt-python; do
# Make sure deploy deps are installed