Hyperv (#14)
* Do not commit the .venv file * Fix packer formatting issues * I am, once again, asking to fix the cache path * Fix URI generation for tests * Prevent prompting during Hyper-V tests * Add more waits to hopefully build on GHA * Hyper-V ISO expansion Expand coverage of Hyper-V ISO to all distros except Debian Simplify a few steps in the update/upgrade process for VMs Edit the test script for Windows support * Fix plugin cache path on Mac * Point to the correct mirror URL
This commit is contained in:
@@ -6,7 +6,7 @@ iso = {
|
||||
}
|
||||
boot_command = [
|
||||
"<up><tab><wait>",
|
||||
"<bs><bs><bs><bs><bs> inst.ks=cdrom:/ks.cfg console=tty0",
|
||||
"<bs><bs><bs><bs><bs><wait> inst.ks<wait>=cdrom:/ks.cfg<wait> console<wait>=tty0<wait>",
|
||||
"<enter>"
|
||||
]
|
||||
cd_files = ["distros/centos/7/disc/*"]
|
||||
|
||||
@@ -34,6 +34,15 @@ libselinux-python
|
||||
-rdma
|
||||
%end
|
||||
|
||||
%pre
|
||||
# In Hyper-V this needs a re-do for some reason
|
||||
virt="$(systemd-detect-virt)"
|
||||
if [ "${virt}" == "microsoft" ]; then
|
||||
nmcli c down eth0
|
||||
nmcli c up eth0
|
||||
fi
|
||||
%end
|
||||
|
||||
%post --erroronfail
|
||||
yum -y update
|
||||
|
||||
|
||||
@@ -5,5 +5,4 @@
|
||||
provider: virtualbox-iso
|
||||
- arch: amd64
|
||||
provider: vmware-iso
|
||||
- arch: amd64
|
||||
provider: hyperv-iso
|
||||
# Hyper-V, I have been thus far unable to have it bring up its network automatically
|
||||
|
||||
Reference in New Issue
Block a user