-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Corey Hemminger <[email protected]>
- Loading branch information
Showing
24 changed files
with
240 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
locals { | ||
alma_os_version = "8.10" | ||
alma_os_major_version = split(".", local.os_version)[0] | ||
} | ||
os_name = "almalinux" | ||
os_version = "8.10" | ||
os_version = local.alma_os_version | ||
os_arch = "aarch64" | ||
iso_url = "https://repo.almalinux.org/almalinux/8/isos/aarch64/AlmaLinux-8.10-aarch64-minimal.iso" | ||
iso_checksum = "file:https://repo.almalinux.org/almalinux/8/isos/aarch64/CHECKSUM" | ||
iso_url = "https://repo.almalinux.org/almalinux/${local.alma_os_major_version}/isos/aarch64/AlmaLinux-${local.alma_os_version}-aarch64-minimal.iso" | ||
iso_checksum = "file:https://repo.almalinux.org/almalinux/${local.alma_os_major_version}/isos/aarch64/CHECKSUM" | ||
parallels_guest_os_type = "centos" | ||
vbox_guest_os_type = "RedHat_64" | ||
vmware_guest_os_type = "arm-centos-64" | ||
boot_command = ["<wait><up>e<wait><down><down><end><wait> inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/rhel/8ks.cfg <leftCtrlOn>x<leftCtrlOff>"] | ||
boot_command = ["<wait><up>e<wait><down><down><end><wait> inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/rhel/${local.alma_os_major_version}ks.cfg <leftCtrlOn>x<leftCtrlOff>"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
os_name = "centos-stream" | ||
os_version = "10" | ||
os_arch = "aarch64" | ||
iso_url = "https://mirror.stream.centos.org/10-stream/BaseOS/aarch64/iso/CentOS-Stream-10-latest-aarch64-dvd1.iso" | ||
iso_checksum = "file:https://mirror.stream.centos.org/10-stream/BaseOS/aarch64/iso/CentOS-Stream-10-latest-aarch64-dvd1.iso.SHA256SUM" | ||
parallels_guest_os_type = "centos" | ||
vbox_guest_os_type = "RedHat_64" | ||
vmware_guest_os_type = "arm-rhel9-64" | ||
boot_command = ["<wait><up>e<wait><down><down><end><wait> inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/rhel/10ks.cfg <leftCtrlOn>x<leftCtrlOff>"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
os_name = "centos-stream" | ||
os_version = "10" | ||
os_arch = "x86_64" | ||
iso_url = "https://mirror.stream.centos.org/10-stream/BaseOS/x86_64/iso/CentOS-Stream-10-latest-x86_64-dvd1.iso" | ||
iso_checksum = "file:https://mirror.stream.centos.org/10-stream/BaseOS/x86_64/iso/CentOS-Stream-10-latest-x86_64-dvd1.iso.SHA256SUM" | ||
parallels_guest_os_type = "centos" | ||
vbox_guest_os_type = "RedHat_64" | ||
vmware_guest_os_type = "centos-64" | ||
boot_command = ["<wait><up><wait><tab> inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/rhel/10ks.cfg<enter><wait>"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
os_name = "macos" | ||
os_version = "15.2" | ||
os_arch = "aarch64" | ||
# parallels_ipsw_url = "https://updates.cdn-apple.com/2024WinterFCS/fullrestores/052-77579/4569734E-120C-4F31-AD08-FC1FF825D059/UniversalMac_14.4.1_23E224_Restore.ipsw" | ||
# parallels_ipsw_checksum = "78b39816521a6eeaf29221a4e59e83dae98ef5f9e8e718b846f8faab540a48c1" | ||
sources_enabled = ["source.parallels-ipsw.vm"] | ||
boot_command = [ | ||
# hello, hola, bonjour, etc. | ||
"<wait><spacebar><wait5s>", | ||
# Select Language English (US) | ||
"<enter><wait10s>", | ||
# Select Your Country and Region | ||
"<leftShiftOn><tab><leftShiftOff><wait><spacebar><wait5s>", | ||
# Written and Spoken Languages | ||
"<leftShiftOn><tab><leftShiftOff><wait><spacebar><wait5s>", | ||
# Accessibility | ||
"<leftShiftOn><tab><leftShiftOff><wait><spacebar><wait5s>", | ||
# Data & Privacy | ||
"<leftShiftOn><tab><leftShiftOff><wait><spacebar><wait5s>", | ||
# Migration Assistant | ||
"<tab><wait><tab><wait><tab><wait><spacebar><wait5s>", | ||
# Sign In with Your Apple ID | ||
"<leftShiftOn><tab><wait><tab><leftShiftOff><wait><spacebar><wait5s>", | ||
# Are you sure you want to skip signing in with an Apple ID? | ||
"<tab><wait><spacebar><wait5s>", | ||
# Terms and Conditions | ||
"<leftShiftOn><tab><leftShiftOff><wait><spacebar><wait5s>", | ||
# I have read and agree to the macOS Software License Agreement | ||
"<tab><wait><spacebar><wait5s>", | ||
# Create a Computer Account | ||
"vagrant<wait><tab><wait><tab><wait>vagrant<wait><tab><wait>vagrant<wait><tab><wait><tab><wait><tab><wait><spacebar><wait1m>", | ||
# Enable Location Services | ||
"<leftShiftOn><tab><leftShiftOff><wait><spacebar><wait5s>", | ||
# Are you sure you don't want to use Location Services? | ||
"<tab><wait><spacebar><wait5s>", | ||
# Select Your Time Zone | ||
"<tab><wait>UTC<wait><enter><wait><leftShiftOn><tab><leftShiftOff><wait><spacebar><wait5s>", | ||
# Analytics | ||
"<tab><wait><spacebar><wait><leftShiftOn><tab><leftShiftOff><wait><spacebar><wait5s>", | ||
# Screen Time | ||
"<tab><wait><spacebar><wait5s>", | ||
# Siri | ||
"<tab><wait><spacebar><wait><leftShiftOn><tab><leftShiftOff><wait><spacebar><wait5s>", | ||
# Choose Your Look | ||
"<leftShiftOn><tab><leftShiftOff><wait><spacebar><wait30s>", | ||
# Enable keyboard navigation | ||
"<leftCtrlOn><f7><leftCtrlOff><wait2s>", | ||
# Open System Settings | ||
"<leftSuperOn><spacebar><leftSuperOff><wait>System<spacebar>Settings<wait><enter><wait5s>", | ||
# Enable Remote Management | ||
"<up><wait><tab><tab><tab><tab><tab><tab><tab><tab><tab><wait><spacebar><wait5s>", | ||
"<tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><wait><spacebar><wait5s>", | ||
# Enable Remote Login | ||
"<tab><tab><wait><spacebar><wait5s>", | ||
# Close System Preferences | ||
"<leftSuperOn>q<leftSuperOff><wait5s>", | ||
# Disable keyboard navigation | ||
"<leftCtrlOn><f7><leftCtrlOff><wait2s>", | ||
# Open Terminal | ||
"<leftSuperOn><spacebar><leftSuperOff><wait>terminal<wait><enter><wait5s>", | ||
# Add vagrant user to sudoers | ||
"echo 'vagrant' | sudo -S sh -c 'echo \"vagrant ALL=(ALL) NOPASSWD: ALL\" > /etc/sudoers.d/vagrant'<wait><enter><wait5s>", | ||
# Set Auto login for vagrant | ||
"sudo sysadminctl -autologin set -userName vagrant -password vagrant<wait><enter><wait5s>", | ||
# Disable screen lock | ||
"sudo sysadminctl -screenLock off -password vagrant<wait><enter><wait5s>", | ||
# Install Parallels Tools | ||
"sudo installer -pkg /Volumes/Parallels\\ Tools/Install.app/Contents/Resources/Install.mpkg -target /<wait><enter><wait5s>", | ||
# Reboot | ||
"sudo shutdown -r +15s<wait><enter><wait5s>", | ||
"exit<enter><wait5s>", | ||
"<leftSuperOn>q<leftSuperOff>" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
os_name = "suse" | ||
os_version = "15.6" | ||
os_arch = "aarch64" | ||
iso_url = "https://updates.suse.com/SUSE/Products/SLE-Product-SLES/15-SP6/aarch64/iso/SLE-15-SP6-Online-aarch64-GM-Media1.iso" | ||
iso_checksum = "56f67a6d10a502901cc2c291231089e375dd7c2b51fc951d5deaa57439c2686e" | ||
parallels_guest_os_type = "suse" | ||
vbox_guest_os_type = "SUSE_LE_64" | ||
vmware_guest_os_type = "sles15-64" | ||
boot_command = ["<wait><esc><enter><wait>linux netdevice=eth0 netsetup=dhcp install=cd:/<wait> lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/sles/15-autoinst.xml<wait> textmode=1<wait><enter><wait>"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.