Skip to content

Commit

Permalink
More ARM logic added.
Browse files Browse the repository at this point in the history
  • Loading branch information
ladar committed Nov 3, 2023
1 parent 30e0ae1 commit 15521ef
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 24 deletions.
83 changes: 62 additions & 21 deletions generic-libvirt-a64.json
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@
],
[
"-machine",
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on"
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on,usb=on"
],
[
"-object",
Expand All @@ -414,7 +414,11 @@
],
[
"-device",
"driver=virtio-keyboard-pci"
"qemu-xhci"
],
[
"-device",
"{'driver':'usb-kbd','id':'input0'}"
]
],
"efi_boot": true,
Expand Down Expand Up @@ -471,7 +475,7 @@
],
[
"-machine",
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on"
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on,usb=on"
],
[
"-object",
Expand All @@ -491,7 +495,11 @@
],
[
"-device",
"driver=virtio-keyboard-pci"
"qemu-xhci"
],
[
"-device",
"{'driver':'usb-kbd','id':'input0'}"
]
],
"efi_boot": true,
Expand Down Expand Up @@ -558,7 +566,7 @@
],
[
"-machine",
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on"
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on,usb=on"
],
[
"-object",
Expand All @@ -578,7 +586,11 @@
],
[
"-device",
"driver=virtio-keyboard-pci"
"qemu-xhci"
],
[
"-device",
"{'driver':'usb-kbd','id':'input0'}"
]
],
"efi_boot": true,
Expand Down Expand Up @@ -630,7 +642,7 @@
],
[
"-machine",
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on"
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on,usb=on"
],
[
"-object",
Expand All @@ -650,7 +662,11 @@
],
[
"-device",
"driver=virtio-keyboard-pci"
"qemu-xhci"
],
[
"-device",
"{'driver':'usb-kbd','id':'input0'}"
]
],
"efi_boot": true,
Expand Down Expand Up @@ -688,8 +704,13 @@
"boot_wait": "20s",
"boot_keygroup_interval": "1s",
"boot_command": [
"<tab><wait10><tab><wait10><tab><wait10><tab><wait10><tab><wait10> ",
"net.ifnames=0 inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/generic.alma9.vagrant.ks vga=792 <enter><wait>"
"<tab><wait10><tab><wait10><tab><wait10><tab>c<wait><enter>",
"linux /images/pxeboot/vmlinuz ",
"inst.stage2=hd:LABEL=AlmaLinux-9-2-aarch64-dvd ",
"inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/generic.alma9.vagrant.a64.ks ",
"inst.text net.ifnames=0 biosdevname=0 vga=792<enter><wait10>",
"initrd /images/pxeboot/initrd.img<enter><wait10>",
"boot<enter><wait>"
],
"qemuargs": [
[
Expand All @@ -698,11 +719,11 @@
],
[
"-device",
"virtio-gpu-device"
"ramfb"
],
[
"-machine",
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on"
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on,usb=on"
],
[
"-object",
Expand All @@ -722,7 +743,11 @@
],
[
"-device",
"driver=virtio-keyboard-pci"
"qemu-xhci"
],
[
"-device",
"{'driver':'usb-kbd','id':'input0'}"
]
],
"efi_boot": true,
Expand Down Expand Up @@ -791,7 +816,7 @@
],
[
"-machine",
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on"
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on,usb=on"
],
[
"-object",
Expand All @@ -811,7 +836,11 @@
],
[
"-device",
"driver=virtio-keyboard-pci"
"qemu-xhci"
],
[
"-device",
"{'driver':'usb-kbd','id':'input0'}"
]
],
"efi_boot": true,
Expand Down Expand Up @@ -875,7 +904,7 @@
],
[
"-machine",
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on"
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on,usb=on"
],
[
"-object",
Expand All @@ -895,7 +924,11 @@
],
[
"-device",
"driver=virtio-keyboard-pci"
"qemu-xhci"
],
[
"-device",
"{'driver':'usb-kbd','id':'input0'}"
]
],
"efi_boot": true,
Expand Down Expand Up @@ -958,7 +991,7 @@
],
[
"-machine",
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on"
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on,usb=on"
],
[
"-object",
Expand All @@ -978,7 +1011,11 @@
],
[
"-device",
"driver=virtio-keyboard-pci"
"qemu-xhci"
],
[
"-device",
"{'driver':'usb-kbd','id':'input0'}"
]
],
"efi_boot": true,
Expand Down Expand Up @@ -1046,7 +1083,7 @@
],
[
"-machine",
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on"
"virt,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,acpi=on,usb=on"
],
[
"-object",
Expand All @@ -1066,7 +1103,11 @@
],
[
"-device",
"driver=virtio-keyboard-pci"
"qemu-xhci"
],
[
"-device",
"{'driver':'usb-kbd','id':'input0'}"
]
],
"efi_boot": true,
Expand Down
21 changes: 18 additions & 3 deletions robox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,20 @@ REPOS+=( "https://dfw.mirror.rackspace.com/almalinux/9.2/BaseOS/x86_64/os/repoda
REPOS+=( "https://dfw.mirror.rackspace.com/almalinux/9.2/BaseOS/x86_64/os/repodata/repomd.xml.asc" )
REPOS+=( "https://dfw.mirror.rackspace.com/almalinux/9.2/AppStream/x86_64/os/repodata/repomd.xml" )
REPOS+=( "https://dfw.mirror.rackspace.com/almalinux/9.2/AppStream/x86_64/os/repodata/repomd.xml.asc" )
REPOS+=( "https://dfw.mirror.rackspace.com/almalinux/9.2/BaseOS/aarch64/os/repodata/repomd.xml" )
REPOS+=( "https://dfw.mirror.rackspace.com/almalinux/9.2/BaseOS/aarch64/os/repodata/repomd.xml.asc" )
REPOS+=( "https://dfw.mirror.rackspace.com/almalinux/9.2/AppStream/aarch64/os/repodata/repomd.xml" )
REPOS+=( "https://dfw.mirror.rackspace.com/almalinux/9.2/AppStream/aarch64/os/repodata/repomd.xml.asc" )

# When this link becomes available, update the JSON files and remove it from here.
FUTURE+=( "https://dfw.mirror.rackspace.com/almalinux/9.3/isos/x86_64/AlmaLinux-9.3-x86_64-boot.iso" )
FUTURE+=( "https://dfw.mirror.rackspace.com/almalinux/9.3/isos/aarch64/AlmaLinux-9.3-aarch64-boot.iso" )

# Alpine Edge
REPOS+=( "https://mirrors.edge.kernel.org/alpine/edge/main/x86_64/APKINDEX.tar.gz" )
REPOS+=( "https://mirrors.edge.kernel.org/alpine/edge/main/aarch64/APKINDEX.tar.gz" )
REPOS+=( "https://mirrors.edge.kernel.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" )
REPOS+=( "https://mirrors.edge.kernel.org/alpine/edge/community/aarch64/APKINDEX.tar.gz" )

# Alpine 3.5
REPOS+=( "https://mirrors.edge.kernel.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz" )
Expand Down Expand Up @@ -219,21 +226,29 @@ REPOS+=( "https://mirrors.edge.kernel.org/alpine/v3.17/community/x86_64/APKINDEX

# Alpine 3.18
REPOS+=( "https://mirrors.edge.kernel.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz" )
REPOS+=( "https://mirrors.edge.kernel.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz" )
REPOS+=( "https://mirrors.edge.kernel.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz" )
REPOS+=( "https://mirrors.edge.kernel.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz" )

# Alpine 3.19
REPOS+=( "https://mirrors.edge.kernel.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz" )
REPOS+=( "https://mirrors.edge.kernel.org/alpine/v3.19/main/aarch64/APKINDEX.tar.gz" )
FUTURE+=( "https://mirrors.edge.kernel.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz" )
FUTURE+=( "https://mirrors.edge.kernel.org/alpine/v3.19/community/aarch64/APKINDEX.tar.gz" )

# When the release ISO becomes available, update the JSON files, and remove this URL.
FUTURE+=( "https://mirrors.edge.kernel.org/alpine/v3.19/releases/x86_64/alpine-virt-3.19.0-x86_64.iso" )
FUTURE+=( "https://mirrors.edge.kernel.org/alpine/v3.19/releases/aarch64/alpine-virt-3.19.0-aarch64.iso" )

# Alpine 3.20
FUTURE+=( "https://mirrors.edge.kernel.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz" )
FUTURE+=( "https://mirrors.edge.kernel.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz" )
FUTURE+=( "https://mirrors.edge.kernel.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz" )
FUTURE+=( "https://mirrors.edge.kernel.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz" )

# When the release ISO becomes available, update the JSON files, and remove this URL.
FUTURE+=( "https://mirrors.edge.kernel.org/alpine/v3.20/releases/x86_64/alpine-virt-3.20.0-x86_64.iso" )
FUTURE+=( "https://mirrors.edge.kernel.org/alpine/v3.20/releases/aarch64/alpine-virt-3.20.0-aarch64.iso" )

# CentOS 6
REPOS+=( "https://vault.centos.org/6.10/os/x86_64/repodata/repomd.xml" )
Expand Down Expand Up @@ -413,9 +428,9 @@ REPOS+=( "https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/arm64/SHA256.sig" )
REPOS+=( "https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/arm64/man74.tgz" )
REPOS+=( "https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/arm64/base74.tgz" )
REPOS+=( "https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/arm64/comp74.tgz" )
REPOS+=( "https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/packages/arm64/index.txt" )
REPOS+=( "https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/packages/arm64/SHA256" )
REPOS+=( "https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/packages/arm64/SHA256.sig" )
REPOS+=( "https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/packages/aarch64/index.txt" )
REPOS+=( "https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/packages/aarch64/SHA256" )
REPOS+=( "https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/packages/aarch64/SHA256.sig" )

REPOS+=( "https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/amd64/index.txt" )
REPOS+=( "https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/amd64/SHA256" )
Expand Down

0 comments on commit 15521ef

Please sign in to comment.