refactor(metal): migrate to Fedora 36 for newer packages (#73)

This commit is contained in:
Khue Doan
2022-07-20 22:49:12 +07:00
committed by GitHub
parent 214f635697
commit 022b8169db
5 changed files with 13 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
iso_url: "https://download.rockylinux.org/pub/rocky/8.6/isos/x86_64/Rocky-8.6-x86_64-minimal.iso"
iso_checksum: "sha256:a9ece0e810275e881abfd66bb0e59ac05d567a5ec0bc2f108b9a3e90bef5bf94"
iso_url: "https://download.fedoraproject.org/pub/fedora/linux/releases/36/Server/x86_64/iso/Fedora-Server-dvd-x86_64-36-1.5.iso"
iso_checksum: "sha256:5edaf708a52687b09f9810c2b6d2a3432edac1b18f4d8c908c0da6bde0379148"
timezone: Asia/Ho_Chi_Minh
dhcp_proxy: true

View File

@@ -19,7 +19,7 @@ partition / --fstype=ext4 --grow
network --bootproto=static --device={{ hostvars[item]['network_interface'] }} --ip={{ hostvars[item]['ansible_host'] }} --gateway={{ ansible_default_ipv4.gateway }} --nameserver={{ dns_server }} --netmask={{ ansible_default_ipv4.netmask }} --ipv6=auto --hostname={{ hostvars[item]['inventory_hostname'] }} --activate
# Use network installation
repo --name="Minimal" --baseurl=http://{{ ansible_default_ipv4.address }}/os/Minimal
repo --name="Repository" --baseurl=http://{{ ansible_default_ipv4.address }}/os
url --url="http://{{ ansible_default_ipv4.address }}/os"
# Disable Setup Agent on first boot
firstboot --disable
@@ -28,7 +28,7 @@ skipx
# Enable NTP
services --enabled="chronyd"
# System timezone
timezone {{ timezone }} --isUtc
timezone {{ timezone }} --utc
# Create user (locked by default)
user --groups=wheel --name=admin
@@ -44,7 +44,8 @@ selinux --disabled
firewall --disabled
%packages
@^minimal-environment
@^custom-environment
@headless-management
iscsi-initiator-utils
%end