Skip to content

Commit

Permalink
update aarch64 builds (chef#1495)
Browse files Browse the repository at this point in the history
* update vmware aarch64 builds vmware_os_guest_type names
  • Loading branch information
Stromweld authored Mar 28, 2023
1 parent 647d206 commit b8eca15
Show file tree
Hide file tree
Showing 22 changed files with 46 additions and 22 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Markdown table generated at <https://www.tablesgenerator.com/markdown_tables#>
| almalinux-8 | | x | | x | | x | | x | |
| almalinux-9 | | x | x | | | x | | x | |
| amazonlinux-2 | | na | na | na | na | x | | na | na |
| amazonlinux-2022 | na | na | na | na | na | na | na | na | na |
| amazonlinux-2023 | na | na | na | na | na | na | na | na | na |
| centos-7 | | x | | x | | x | | x | |
| centos-stream-8 | | x | | x | | x | | x | |
| centos-stream-9 | | | | | | x | | x | |
Expand Down Expand Up @@ -53,6 +53,9 @@ Markdown table generated at <https://www.tablesgenerator.com/markdown_tables#>
## [unreleased] (2023-03-16)

- Updated VMware disk and cdrom adaptor type to sata for aarch64 build compatability
- Added "arm-" to aarch64 pkrvars files vmware_guest_os_type
- Fixed readme example for bento debian build
- Added pkrvars file for amazon 2023, more work needed to build vagrant box if/when amazon releases images for providers

## [v3.0.0] (2023-03-16)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ end
To build a Debian vagrant box using the bento tool with the template available in the `os_pkrvars` dir, we can use the following command:

```bash
bento build --cpus 2 packer_templates/debian/debian-11.6-i386.json
bento build --cpus 2 os_pkrvars/debian/debian-11-x86_64.pkrvars.hcl
```

Other available options:
Expand Down
2 changes: 1 addition & 1 deletion os_pkrvars/almalinux/almalinux-8-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://repo.almalinux.org/almalinux/8/isos/aarch64/A
iso_checksum = "file:https://repo.almalinux.org/almalinux/8/isos/aarch64/CHECKSUM"
parallels_guest_os_type = "centos"
vbox_guest_os_type = "RedHat_64"
vmware_guest_os_type = "centos-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>"]
2 changes: 1 addition & 1 deletion os_pkrvars/almalinux/almalinux-9-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://repo.almalinux.org/almalinux/9/isos/aarch64/A
iso_checksum = "file:https://repo.almalinux.org/almalinux/9/isos/aarch64/CHECKSUM"
parallels_guest_os_type = "centos"
vbox_guest_os_type = "RedHat_64"
vmware_guest_os_type = "centos-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/9ks.cfg <leftCtrlOn>x<leftCtrlOff>"]
21 changes: 21 additions & 0 deletions os_pkrvars/amazonlinux/amazonlinux-2023-x86_64.pkrvars.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
os_name = "amazonlinux"
os_version = "2023"
os_arch = "x86_64"
vbox_guest_os_type = "RedHat_64"
sources_enabled = [
"source.virtualbox-ovf.amazonlinux"
]
vboxmanage = [
[
"modifyvm",
"{{ .Name }}",
"--memory",
"2048",
"--cpus",
"2",
"--audio",
"none",
"--nat-localhostreachable1",
"on",
]
]
2 changes: 1 addition & 1 deletion os_pkrvars/centos/centos-7-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://quantum-mirror.hu/mirrors/pub/centos-altarch/
iso_checksum = "1bef71329e51f9bed12349aa026b3fe0c4bb27db729399a3f9addae22848da9b"
parallels_guest_os_type = "centos"
vbox_guest_os_type = "RedHat_64"
vmware_guest_os_type = "centos-64"
vmware_guest_os_type = "arm-centos-64"
boot_command = ["<wait><up>e<wait><down><down><end><wait> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/rhel/7ks.cfg <leftCtrlOn>x<leftCtrlOff>"]
2 changes: 1 addition & 1 deletion os_pkrvars/centos/centos-stream-8-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://mirrors.edge.kernel.org/centos/8-stream/isos/
iso_checksum = "file:https://mirrors.edge.kernel.org/centos/8-stream/isos/aarch64/CHECKSUM"
parallels_guest_os_type = "centos"
vbox_guest_os_type = "RedHat_64"
vmware_guest_os_type = "centos-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>"]
2 changes: 1 addition & 1 deletion os_pkrvars/centos/centos-stream-9-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://mirror.stream.centos.org/9-stream/BaseOS/aarc
iso_checksum = "file:https://mirror.stream.centos.org/9-stream/BaseOS/aarch64/iso/CentOS-Stream-9-latest-aarch64-dvd1.iso.SHA256SUM"
parallels_guest_os_type = "centos"
vbox_guest_os_type = "RedHat_64"
vmware_guest_os_type = "centos-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/9ks.cfg <leftCtrlOn>x<leftCtrlOff>"]
2 changes: 1 addition & 1 deletion os_pkrvars/debian/debian-10-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://cdimage.debian.org/cdimage/archive/10.13.0/ar
iso_checksum = "5c6f6df5febf691e95c08b630db3b1c13b9c5b3d19ea4b1515207f09385e186d"
parallels_guest_os_type = "debian"
vbox_guest_os_type = "Debian_64"
vmware_guest_os_type = "debian-64"
vmware_guest_os_type = "arm-debian-64"
boot_command = ["<wait><up>e<wait><down><down><down><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><wait>install <wait> preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian/preseed.cfg <wait>debian-installer=en_US.UTF-8 <wait>auto <wait>locale=en_US.UTF-8 <wait>kbd-chooser/method=us <wait>keyboard-configuration/xkb-keymap=us <wait>netcfg/get_hostname={{ .Name }} <wait>netcfg/get_domain=vagrantup.com <wait>fb=false <wait>debconf/frontend=noninteractive <wait>console-setup/ask_detect=false <wait>console-keymaps-at/keymap=us <wait>grub-installer/bootdev=/dev/sda <wait><f10><wait>"]
2 changes: 1 addition & 1 deletion os_pkrvars/debian/debian-11-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://cdimage.debian.org/debian-cd/current/arm64/is
iso_checksum = "b27ff768c10808518790d72d670c5588cdc60cf8934ef92773a89274a193a65f"
parallels_guest_os_type = "debian"
vbox_guest_os_type = "Debian_64"
vmware_guest_os_type = "debian-64"
vmware_guest_os_type = "arm-debian-64"
boot_command = ["<wait><up>e<wait><down><down><down><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><wait>install <wait> preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian/preseed.cfg <wait>debian-installer=en_US.UTF-8 <wait>auto <wait>locale=en_US.UTF-8 <wait>kbd-chooser/method=us <wait>keyboard-configuration/xkb-keymap=us <wait>netcfg/get_hostname={{ .Name }} <wait>netcfg/get_domain=vagrantup.com <wait>fb=false <wait>debconf/frontend=noninteractive <wait>console-setup/ask_detect=false <wait>console-keymaps-at/keymap=us <wait>grub-installer/bootdev=/dev/sda <wait><f10><wait>"]
2 changes: 1 addition & 1 deletion os_pkrvars/fedora/fedora-36-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://na.edge.kernel.org/fedora/releases/36/Server/
iso_checksum = "sha256:0ab4000575ff8b258576750ecf4ca39b266f0c88cab5fe3d8d2f88c9bea4830d"
parallels_guest_os_type = "fedora-core"
vbox_guest_os_type = "Fedora_64"
vmware_guest_os_type = "fedora-64"
vmware_guest_os_type = "arm-fedora-64"
boot_command = ["<wait><up><wait>e<down><down><end> inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/fedora/ks.cfg<enter><wait><f10>"]
2 changes: 1 addition & 1 deletion os_pkrvars/fedora/fedora-37-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://download.fedoraproject.org/pub/fedora/linux/r
iso_checksum = "sha256:1c2deba876bd2da3a429b1b0cd5e294508b8379b299913d97dd6dd6ebcd8b56f"
parallels_guest_os_type = "fedora-core"
vbox_guest_os_type = "Fedora_64"
vmware_guest_os_type = "fedora-64"
vmware_guest_os_type = "arm-fedora-64"
boot_command = ["<wait><up><up>e<wait><down><down><end> inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/fedora/ks.cfg<F10><wait>"]
2 changes: 1 addition & 1 deletion os_pkrvars/oraclelinux/oraclelinux-7-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://yum.oracle.com/ISOS/OracleLinux/OL7/u9/aarch6
iso_checksum = "fd2c1b1e26858576534f6e6c4cf000a15cd81bec010dad5e827b204a14a1750e"
parallels_guest_os_type = "centos"
vbox_guest_os_type = "RedHat_64"
vmware_guest_os_type = "centos-64"
vmware_guest_os_type = "arm-centos-64"
boot_command = ["<wait><up>e<wait><down><down><end><wait> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/rhel/7ks.cfg <leftCtrlOn>x<leftCtrlOff>"]
2 changes: 1 addition & 1 deletion os_pkrvars/oraclelinux/oraclelinux-8-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://yum.oracle.com/ISOS/OracleLinux/OL8/u7/aarch6
iso_checksum = "420000aa561e833d8dc9576815d068fb5b15fd9fb826a0d9c127782004683741"
parallels_guest_os_type = "centos"
vbox_guest_os_type = "RedHat_64"
vmware_guest_os_type = "centos-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>"]
2 changes: 1 addition & 1 deletion os_pkrvars/oraclelinux/oraclelinux-9-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://yum.oracle.com/ISOS/OracleLinux/OL9/u1/aarch6
iso_checksum = "3dc4578f53ceb1010f8236b3356f2441ec3f9e840fa60522e470d7f3cdb86cb1"
parallels_guest_os_type = "centos"
vbox_guest_os_type = "RedHat_64"
vmware_guest_os_type = "centos-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/9ks.cfg <leftCtrlOn>x<leftCtrlOff>"]
2 changes: 1 addition & 1 deletion os_pkrvars/rhel/rhel-7-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://www.redhat.com/en/technologies/linux-platform
iso_checksum = "1b8004961150b60f6c5ec3f25139d3217eee55707cf9fa19e826919fc58e328b"
parallels_guest_os_type = "rhel"
vbox_guest_os_type = "RedHat_64"
vmware_guest_os_type = "centos-64"
vmware_guest_os_type = "arm-centos-64"
boot_command = ["<wait><up><wait><tab> inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/rhel/7ks.cfg<enter><wait>"]
2 changes: 1 addition & 1 deletion os_pkrvars/rhel/rhel-8-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://www.redhat.com/en/technologies/linux-platform
iso_checksum = "1b8004961150b60f6c5ec3f25139d3217eee55707cf9fa19e826919fc58e328b"
parallels_guest_os_type = "rhel"
vbox_guest_os_type = "RedHat_64"
vmware_guest_os_type = "centos-64"
vmware_guest_os_type = "arm-centos-64"
boot_command = ["<wait><up><wait><tab> inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/rhel/8ks.cfg<enter><wait>"]
2 changes: 1 addition & 1 deletion os_pkrvars/rhel/rhel-9-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://www.redhat.com/en/technologies/linux-platform
iso_checksum = "1b8004961150b60f6c5ec3f25139d3217eee55707cf9fa19e826919fc58e328b"
parallels_guest_os_type = "rhel"
vbox_guest_os_type = "RedHat_64"
vmware_guest_os_type = "centos-64"
vmware_guest_os_type = "arm-centos-64"
boot_command = ["<wait><up><wait><tab> inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/rhel/9ks.cfg<enter><wait>"]
2 changes: 1 addition & 1 deletion os_pkrvars/rockylinux/rockylinux-8-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://download.rockylinux.org/pub/rocky/8/isos/aarc
iso_checksum = "file:https://download.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM"
parallels_guest_os_type = "centos"
vbox_guest_os_type = "RedHat_64"
vmware_guest_os_type = "centos-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>"]
2 changes: 1 addition & 1 deletion os_pkrvars/rockylinux/rockylinux-9-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ iso_url = "https://download.rockylinux.org/pub/rocky/9/isos/aarc
iso_checksum = "file:https://download.rockylinux.org/pub/rocky/9/isos/aarch64/CHECKSUM"
parallels_guest_os_type = "centos"
vbox_guest_os_type = "RedHat_64"
vmware_guest_os_type = "centos-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/9ks.cfg <leftCtrlOn>x<leftCtrlOff>"]
2 changes: 1 addition & 1 deletion os_pkrvars/ubuntu/ubuntu-18.04-aarch64.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ iso_checksum = "0a20ef21181a36588f8fb670cc63e8d326fa6e715b526543d300a
hyperv_generation = 2
parallels_guest_os_type = "ubuntu"
vbox_guest_os_type = "Ubuntu_64"
vmware_guest_os_type = "ubuntu-64"
vmware_guest_os_type = "arm-ubuntu-64"
boot_command = ["<wait>e<wait><down><down><down><end><wait>", "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>", "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>", "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>", "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>", "<bs><wait>auto console-setup/ask_detect=false", " console-setup/layoutcode=us", " console-setup/modelcode=pc105", " debconf/frontend=noninteractive", " debian-installer=en_US.UTF-8", " fb=false", " initrd=/install/initrd.gz", " kbd-chooser/method=us", " keyboard-configuration/layout=USA", " keyboard-configuration/variant=USA", " locale=en_US.UTF-8", " netcfg/get_hostname=vagrant", " grub-installer/bootdev=/dev/sda", " noapic", " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu/preseed.cfg", " ---", "<f10><wait>"]
4 changes: 2 additions & 2 deletions os_pkrvars/ubuntu/ubuntu-20.04-x86_64.pkrvars.hcl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
os_name = "ubuntu"
os_version = "20.04"
os_arch = "x86_64"
iso_url = "https://releases.ubuntu.com/focal/ubuntu-20.04.5-live-server-amd64.iso"
iso_checksum = "sha256:5035be37a7e9abbdc09f0d257f3e33416c1a0fb322ba860d42d74aa75c3468d4"
iso_url = "https://releases.ubuntu.com/focal/ubuntu-20.04.6-live-server-amd64.iso"
iso_checksum = "file:https://releases.ubuntu.com/focal/SHA256SUMS"
hyperv_generation = 2
parallels_guest_os_type = "ubuntu"
vbox_guest_os_type = "Ubuntu_64"
Expand Down

0 comments on commit b8eca15

Please sign in to comment.