Skip to content

Commit

Permalink
Bump AlmaLinux 9.0 -> 9.1 and 8.6 -> 8.7 (chef#1454)
Browse files Browse the repository at this point in the history
  • Loading branch information
tas50 authored Dec 13, 2022
1 parent 3c3b2b6 commit fa24423
Show file tree
Hide file tree
Showing 5 changed files with 229 additions and 20 deletions.
4 changes: 2 additions & 2 deletions builds.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
public:
- 'almalinux-8.6'
- 'almalinux-9.0'
- 'almalinux-8.7'
- 'almalinux-9.1'
- 'amazon-2'
- 'centos-7.9'
- 'centos-stream-8'
Expand Down
209 changes: 209 additions & 0 deletions packer_templates/almalinux/almalinux-8.7-aarch64.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
{
"builders": [
{
"boot_command": "{{ user `boot_command` }}",
"boot_wait": "5s",
"cpus": "{{ user `cpus` }}",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{ user `guest_additions_url` }}",
"guest_os_type": "RedHat_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "{{user `http_directory`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}",
"memory": "{{ user `memory` }}",
"output_directory": "{{ user `build_directory` }}/packer-{{user `template`}}-virtualbox",
"shutdown_command": "echo 'vagrant' | sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_timeout": "10000s",
"ssh_username": "vagrant",
"type": "virtualbox-iso",
"virtualbox_version_file": ".vbox_version",
"vm_name": "{{ user `template` }}"
},
{
"boot_command": "{{ user `boot_command` }}",
"boot_wait": "5s",
"cpus": "{{ user `cpus` }}",
"disk_size": "{{user `disk_size`}}",
"guest_os_type": "centos-64",
"headless": "{{ user `headless` }}",
"http_directory": "{{user `http_directory`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}",
"memory": "{{ user `memory` }}",
"output_directory": "{{ user `build_directory` }}/packer-{{user `template`}}-vmware",
"shutdown_command": "echo 'vagrant' | sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"version": 19,
"ssh_timeout": "10000s",
"ssh_username": "vagrant",
"tools_upload_flavor": "linux",
"type": "vmware-iso",
"vm_name": "{{ user `template` }}",
"vmx_data": {
"cpuid.coresPerSocket": "1"
},
"vmx_remove_ethernet_interfaces": true
},
{
"boot_command": "{{user `boot_command`}}",
"boot_wait": "5s",
"cpus": "{{ user `cpus` }}",
"disk_size": "{{user `disk_size`}}",
"guest_os_type": "centos",
"http_directory": "{{user `http_directory`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}",
"memory": "{{ user `memory` }}",
"output_directory": "{{ user `build_directory` }}/packer-{{user `template`}}-parallels",
"parallels_tools_flavor": "lin-arm",
"prlctl_version_file": ".prlctl_version",
"prlctl": [
[
"set",
"{{.Name}}",
"--3d-accelerate",
"off"
],
[
"set",
"{{.Name}}",
"--videosize",
"16"
]
],
"shutdown_command": "echo 'vagrant' | sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_timeout": "10000s",
"ssh_username": "vagrant",
"type": "parallels-iso",
"vm_name": "{{ user `template` }}"
},
{
"boot_command": [
"<wait5><up><wait5><tab> text ks=hd:fd0:/ks.cfg<enter><wait5><esc>"
],
"boot_wait": "5s",
"cpus": "{{ user `cpus` }}",
"disk_size": "{{user `disk_size`}}",
"floppy_files": [
"{{user `http_directory`}}/{{user `ks_path`}}"
],
"generation": "{{user `hyperv_generation`}}",
"guest_additions_mode": "disable",
"http_directory": "{{user `http_directory`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}",
"memory": "{{ user `memory` }}",
"output_directory": "{{ user `build_directory` }}/packer-{{user `template`}}-hyperv",
"shutdown_command": "echo 'vagrant' | sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_timeout": "10000s",
"ssh_username": "vagrant",
"switch_name": "{{ user `hyperv_switch`}}",
"type": "hyperv-iso",
"vm_name": "{{ user `template` }}"
},
{
"boot_command": "{{ user `boot_command` }}",
"boot_wait": "5s",
"cpus": "{{ user `cpus` }}",
"disk_size": "{{user `disk_size`}}",
"headless": "{{ user `headless` }}",
"http_directory": "{{user `http_directory`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}",
"memory": "{{ user `memory` }}",
"output_directory": "{{ user `build_directory` }}/packer-{{user `template`}}-qemu",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_timeout": "10000s",
"ssh_username": "vagrant",
"type": "qemu",
"vm_name": "{{ user `template` }}",
"qemuargs": [
[ "-m", "{{ user `memory` }}" ],
[ "-display", "{{ user `qemu_display` }}" ]
]
}
],
"post-processors": [
{
"output": "{{ user `build_directory` }}/{{user `box_basename`}}.{{.Provider}}.box",
"type": "vagrant"
}
],
"provisioners": [
{
"environment_vars": [
"HOME_DIR=/home/vagrant",
"http_proxy={{user `http_proxy`}}",
"https_proxy={{user `https_proxy`}}",
"no_proxy={{user `no_proxy`}}"
],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E sh -eux '{{.Path}}'",
"expect_disconnect": true,
"pause_after": "30s",
"scripts": [
"{{template_dir}}/scripts/update.sh"
],
"type": "shell"
},
{
"environment_vars": [
"HOME_DIR=/home/vagrant",
"http_proxy={{user `http_proxy`}}",
"https_proxy={{user `https_proxy`}}",
"no_proxy={{user `no_proxy`}}"
],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E sh -eux '{{.Path}}'",
"expect_disconnect": false,
"scripts": [
"{{template_dir}}/../_common/motd.sh",
"{{template_dir}}/../_common/sshd.sh",
"{{template_dir}}/../_common/vagrant.sh",
"{{template_dir}}/../_common/virtualbox.sh",
"{{template_dir}}/../_common/vmware.sh",
"{{template_dir}}/../_common/parallels.sh",
"{{template_dir}}/scripts/cleanup.sh",
"{{template_dir}}/../_common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"box_basename": "almalinux-8.7",
"build_directory": "../../builds",
"build_timestamp": "{{isotime \"202205111847\"}}",
"cpus": "2",
"disk_size": "65536",
"git_revision": "__unknown_git_revision__",
"guest_additions_url": "",
"headless": "",
"http_directory": "{{template_dir}}/http",
"http_proxy": "{{env `http_proxy`}}",
"https_proxy": "{{env `https_proxy`}}",
"hyperv_generation": "1",
"hyperv_switch": "bento",
"iso_checksum": "c14fae79d5e26bc41e75f0a65063ab684199a7ea3a6bd0a8086e1ffd2a7afac8",
"iso_name": "AlmaLinux-8.7-aarch64-dvd.iso",
"ks_path": "8/ks.cfg",
"memory": "1024",
"mirror": "https://repo.almalinux.org/almalinux",
"mirror_directory": "8.7/isos/aarch64",
"name": "almalinux-8.7",
"no_proxy": "{{env `no_proxy`}}",
"qemu_display": "none",
"template": "almalinux-8.7-aarch64",
"boot_command": "<up><wait><tab> inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `ks_path`}}<enter><wait>",
"version": "TIMESTAMP"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
}
],
"variables": {
"box_basename": "almalinux-8.6",
"box_basename": "almalinux-8.7",
"build_directory": "../../builds",
"build_timestamp": "{{isotime \"202205111847\"}}",
"cpus": "2",
Expand All @@ -180,16 +180,16 @@
"https_proxy": "{{env `https_proxy`}}",
"hyperv_generation": "1",
"hyperv_switch": "bento",
"iso_checksum": "8c3bd1ff3d88b5599147626fa2616d85edcc861ec00edd6863b81dbfb135874c",
"iso_name": "AlmaLinux-8.6-x86_64-dvd.iso",
"iso_checksum": "b95ddf9d56a849cc8eb4b95dd2321c13af637d3379b91f5d96c39e96fb4403b3",
"iso_name": "AlmaLinux-8.7-x86_64-dvd.iso",
"ks_path": "8/ks.cfg",
"memory": "1024",
"mirror": "https://repo.almalinux.org/almalinux",
"mirror_directory": "8.6/isos/x86_64",
"name": "almalinux-8.6",
"mirror_directory": "8.7/isos/x86_64",
"name": "almalinux-8.7",
"no_proxy": "{{env `no_proxy`}}",
"qemu_display": "none",
"template": "almalinux-8.6-x86_64",
"template": "almalinux-8.7-x86_64",
"boot_command": "<up><wait><tab> inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `ks_path`}}<enter><wait>",
"version": "TIMESTAMP"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
}
],
"variables": {
"box_basename": "almalinux-9.0",
"box_basename": "almalinux-9.1",
"build_directory": "../../builds",
"build_timestamp": "{{isotime \"202205251531\"}}",
"cpus": "2",
Expand All @@ -193,16 +193,16 @@
"https_proxy": "{{env `https_proxy`}}",
"hyperv_generation": "1",
"hyperv_switch": "bento",
"iso_checksum": "dcbb69c766575d8107b34371fb8b947abf3d6aea3df04515385fff0edb9c16ed",
"iso_name": "AlmaLinux-9.0-aarch64-dvd.iso",
"iso_checksum": "a6f0fb355b9c82f13a95f3f02e19b0f07906a7e0f27e3bca144338ebac9abf40",
"iso_name": "AlmaLinux-9.1-aarch64-dvd.iso",
"ks_path": "9/ks.cfg",
"memory": "1024",
"mirror": "https://mirrors.ukfast.co.uk/sites/almalinux.org",
"mirror_directory": "9.0/isos/aarch64",
"name": "almalinux-9.0",
"mirror_directory": "9.1/isos/aarch64",
"name": "almalinux-9.1",
"no_proxy": "{{env `no_proxy`}}",
"qemu_display": "none",
"template": "almalinux-9.0-aarch64",
"template": "almalinux-9.1-aarch64",
"boot_command": "e<down><down><end><bs><bs><bs><bs><bs>inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `ks_path`}}<leftCtrlOn>x<leftCtrlOff>",
"version": "TIMESTAMP"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
}
],
"variables": {
"box_basename": "almalinux-9.0",
"box_basename": "almalinux-9.1",
"build_directory": "../../builds",
"build_timestamp": "{{isotime \"202205251531\"}}",
"cpus": "2",
Expand All @@ -179,16 +179,16 @@
"https_proxy": "{{env `https_proxy`}}",
"hyperv_generation": "1",
"hyperv_switch": "bento",
"iso_checksum": "6617436f8f2ee5408ff448a4eedce4ce61e2fdb3153a646b875010256bc9fd6b",
"iso_name": "AlmaLinux-9.0-x86_64-dvd.iso",
"iso_checksum": "2a44e3f8a012c132da19b9aae2bf949e20b116f0a2a7ac3eca111972f4ac952f",
"iso_name": "AlmaLinux-9.1-x86_64-dvd.iso",
"ks_path": "9/ks.cfg",
"memory": "1024",
"mirror": "https://repo.almalinux.org/almalinux",
"mirror_directory": "9.0/isos/x86_64",
"name": "almalinux-9.0",
"mirror_directory": "9.1/isos/x86_64",
"name": "almalinux-9.1",
"no_proxy": "{{env `no_proxy`}}",
"qemu_display": "none",
"template": "almalinux-9.0-x86_64",
"template": "almalinux-9.1-x86_64",
"boot_command": "<up><wait><tab> inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `ks_path`}}<enter><wait>",
"version": "TIMESTAMP"
}
Expand Down

0 comments on commit fa24423

Please sign in to comment.