mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-12-22 10:08:30 +00:00
feat: add temporary support for Rocky Linux 9 (#9)
This commit is contained in:
parent
ef0d3aea14
commit
53624d2dd5
@ -256,7 +256,7 @@ class VirtInstallImage(object):
|
|||||||
if shortid not in out:
|
if shortid not in out:
|
||||||
# this will just use the most recent rocky release number
|
# this will just use the most recent rocky release number
|
||||||
# virt-install / osinfo knows
|
# virt-install / osinfo knows
|
||||||
shortid = 'rocky8-unknown'
|
shortid = "rocky{0}".format(self.release).split('.')[0] + "-unknown"
|
||||||
|
|
||||||
# destroy and delete the domain we use for all virt-installs
|
# destroy and delete the domain we use for all virt-installs
|
||||||
conn = libvirt.open()
|
conn = libvirt.open()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
bootloader --location=mbr
|
bootloader --location=mbr
|
||||||
network --bootproto=dhcp
|
network --bootproto=dhcp
|
||||||
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
|
url --url="https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/"
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
keyboard us
|
keyboard us
|
||||||
timezone --utc America/New_York
|
timezone --utc America/New_York
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
bootloader --location=mbr --append="console=tty0 quiet"
|
bootloader --location=mbr --append="console=tty0 quiet"
|
||||||
network --bootproto=dhcp
|
network --bootproto=dhcp
|
||||||
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
|
url --url="https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/"
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
keyboard us
|
keyboard us
|
||||||
timezone --utc America/New_York
|
timezone --utc America/New_York
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
bootloader --location=mbr
|
bootloader --location=mbr
|
||||||
network --bootproto=dhcp
|
network --bootproto=dhcp
|
||||||
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
|
url --url="https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/"
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
keyboard us
|
keyboard us
|
||||||
timezone --utc America/New_York
|
timezone --utc America/New_York
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
bootloader --location=mbr
|
bootloader --location=mbr
|
||||||
network --bootproto=dhcp
|
network --bootproto=dhcp
|
||||||
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
|
url --url="https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/"
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
keyboard us
|
keyboard us
|
||||||
timezone --utc America/New_York
|
timezone --utc America/New_York
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
bootloader --location=mbr
|
bootloader --location=mbr
|
||||||
network --bootproto=dhcp
|
network --bootproto=dhcp
|
||||||
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
|
url --url="https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/"
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
keyboard us
|
keyboard us
|
||||||
timezone --utc America/New_York
|
timezone --utc America/New_York
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
bootloader --location=mbr
|
bootloader --location=mbr
|
||||||
network --bootproto=dhcp
|
network --bootproto=dhcp
|
||||||
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
|
url --url="https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/"
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
keyboard us
|
keyboard us
|
||||||
timezone --utc America/New_York
|
timezone --utc America/New_York
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
bootloader --location=mbr
|
bootloader --location=mbr
|
||||||
network --bootproto=dhcp
|
network --bootproto=dhcp
|
||||||
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
|
url --url="https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/"
|
||||||
#repo --name="epel" --baseurl="http://mirrors.kernel.org/fedora-epel/8/Everything/x86_64/"
|
#repo --name="epel" --baseurl="http://mirrors.kernel.org/fedora-epel/8/Everything/x86_64/"
|
||||||
# use epel to keep scsi-target-utils instead of targetcli
|
# use epel to keep scsi-target-utils instead of targetcli
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
bootloader --location=mbr
|
bootloader --location=mbr
|
||||||
network --device=link --activate --bootproto=dhcp
|
network --device=link --activate --bootproto=dhcp
|
||||||
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
|
url --url="https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/"
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
keyboard us
|
keyboard us
|
||||||
timezone --utc America/New_York
|
timezone --utc America/New_York
|
||||||
|
Loading…
Reference in New Issue
Block a user