Hyperv Debian + UEFI

This commit is contained in:
Greg Hellings
2023-12-30 05:37:32 +00:00
parent 76abdb9132
commit b11669345e
112 changed files with 468 additions and 850 deletions
+4 -3
View File
@@ -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/*"]
+3 -5
View File
@@ -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
+2 -1
View File
@@ -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