Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Rocky Linux 9 building on Proxmox #1593

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions images/capi/ansible/roles/providers/tasks/proxmox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@
ansible.builtin.systemd:
name: networkd-dispatcher
state: started
when: ansible_os_family == "Debian"

- name: Ensure networkd-dispatcher is enabled
ansible.builtin.systemd:
name: networkd-dispatcher
enabled: true
when: ansible_os_family == "Debian"
4 changes: 2 additions & 2 deletions images/capi/packer/goss/goss-vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,9 @@ rockylinux:
<<: *rh9_rpms
qemu:
package:
open-vm-tools:
qemu-guest-agent:
cloud-init:
cloud-utils:
cloud-utils-growpart:
os_version:
- distro_version: "8"
package:
Expand Down
6 changes: 3 additions & 3 deletions images/capi/packer/proxmox/linux/rockylinux/http/9/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ services --enabled="NetworkManager,sshd,chronyd"
timezone UTC

# System booloader configuration
bootloader --location=mbr --boot-drive=sda
bootloader --location=mbr --boot-drive=vda
zerombr
clearpart --all --initlabel --drives=sda
part / --fstype="ext4" --grow --asprimary --label=slash --ondisk=sda
clearpart --all --initlabel --drives=vda
part / --fstype="ext4" --grow --asprimary --label=slash --ondisk=vda

skipx

Expand Down
4 changes: 2 additions & 2 deletions images/capi/packer/proxmox/packer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"disks": [
{
"disk_size": "{{user `disk_size`}}",
"format": "qcow2",
"format": "raw",
"storage_pool": "{{user `storage_pool`}}",
"storage_pool_type": "{{user `storage_pool_type`}}",
"type": "scsi"
"type": "virtio"
}
],
"http_directory": "{{user `http_directory`}}",
Expand Down
3 changes: 2 additions & 1 deletion images/capi/packer/proxmox/rockylinux-9.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
"os_display_name": "RockyLinux 9",
"redhat_epel_rpm": "https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm",
"shutdown_command": "/sbin/halt -h -p",
"vsphere_guest_os_type": "rockylinux_64Guest"
"vsphere_guest_os_type": "rockylinux_64Guest",
"cpu_type": "Westmere"
}