Change default nic to e1000 for bionic PXE testing

Network booting on bionic, by default, doesn't work
with the virtio "firmware" which lacks the PXE stack.

iPXE has traditionally been in the e1000 driver and it
shouldn't be too much overhead for test VMs.

Change-Id: Ic926cd236c2b640414bbd091daccacd213958ae5
This commit is contained in:
Julia Kreger 2020-01-09 15:09:00 -08:00
parent e2a9195862
commit e88031dd78
2 changed files with 9 additions and 1 deletions

View File

@ -6,7 +6,7 @@ test_vm_num_nodes: 1
test_vm_domain_type: "qemu"
test_vm_arch: "x86_64"
test_vm_cpu: "host-model"
test_vm_nic: "virtio"
test_vm_nic: "e1000"
test_vm_groups: {}
test_vm_default_groups: "{{ lookup('env', 'DEFAULT_HOST_GROUPS').split() | default(['baremetal'], true) }}"
test_vm_disk_gib: "{{ lookup('env', 'VM_DISK') | default(10, true) }}"

View File

@ -0,0 +1,8 @@
---
other:
- |
The default libvirt network interface card type has been changed from
``virtio`` to ``e1000`` in order to support testing on Bionic. Users should
not experience any issues as a result of this, however the
``bifrost-create-vm-nodes`` setting ``test_vm_nic`` can be used to explicitly
choose ``virtio`` network interface cards.