Hyperv Debian + UEFI
This commit is contained in:
@@ -5,8 +5,9 @@ iso = {
|
||||
checksum = "b79079ad71cc3c5ceb3561fff348a1b67ee37f71f4cddfec09480d4589c191d6"
|
||||
}
|
||||
boot_command = [
|
||||
"<up><tab><wait>",
|
||||
"<bs><bs><bs><bs><bs><wait> inst.ks<wait>=cdrom:/ks.cfg<wait> console<wait>=tty0<wait>",
|
||||
"<enter>"
|
||||
"<up>e<wait>",
|
||||
"<down><down><end><wait>",
|
||||
" inst.ks=cdrom:/ks.cfg<wait>",
|
||||
"<leftCtrlOn>x<leftCtrlOff>"
|
||||
]
|
||||
cd_files = ["distros/centos/7/disc/*"]
|
||||
|
||||
@@ -36,11 +36,9 @@ libselinux-python
|
||||
|
||||
%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
|
||||
set -ex
|
||||
nmcli dev connect eth0
|
||||
nmcli c
|
||||
%end
|
||||
|
||||
%post --erroronfail
|
||||
|
||||
@@ -5,4 +5,5 @@
|
||||
provider: virtualbox-iso
|
||||
- arch: amd64
|
||||
provider: vmware-iso
|
||||
# Hyper-V, I have been thus far unable to have it bring up its network automatically
|
||||
- arch: amd64
|
||||
provider: hyperv-iso
|
||||
Reference in New Issue
Block a user