diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 046ad03b..f420d68f 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -61,7 +61,7 @@ else: DRACUT_DEFAULT = ["--xz", "--install", "/.buildstamp", "--no-early-microcode", "--add", "fips"] # Used for DNF conf.module_platform_id -DEFAULT_PLATFORM_ID = "platform:f34" +DEFAULT_PLATFORM_ID = "platform:el9" class ArchData(DataHolder): lib64_arches = ("x86_64", "ppc64le", "s390x", "ia64", "aarch64") diff --git a/src/pylorax/cmdline.py b/src/pylorax/cmdline.py index a4581242..b8e7d2f9 100644 --- a/src/pylorax/cmdline.py +++ b/src/pylorax/cmdline.py @@ -304,9 +304,9 @@ def lmc_parser(dracut_default=""): vagrant_group.add_argument("--vagrantfile", help="optional vagrantfile") - parser.add_argument("--project", default="Linux", + parser.add_argument("--project", default="Red Hat Enterprise Linux", help="substituted for @PROJECT@ in bootloader config files") - parser.add_argument("--releasever", default="34", + parser.add_argument("--releasever", default="9", help="substituted for @VERSION@ in bootloader config files") parser.add_argument("--volid", default=None, help="volume id") parser.add_argument("--squashfs-only", action="store_true", default=False, diff --git a/src/pylorax/creator.py b/src/pylorax/creator.py index b20b777f..48d807ae 100644 --- a/src/pylorax/creator.py +++ b/src/pylorax/creator.py @@ -148,8 +148,8 @@ def dracut_args(opts): return DRACUT_DEFAULT def make_appliance(disk_img, name, template, outfile, networks=None, ram=1024, - vcpus=1, arch=None, title="Linux", project="Linux", - releasever="34"): + vcpus=1, arch=None, title="Red Hat Enterprise Linux", + project="Red Hat Enterprise Linux", releasever="9"): """ Generate an appliance description file @@ -161,9 +161,9 @@ def make_appliance(disk_img, name, template, outfile, networks=None, ram=1024, :param int ram: Ram, in MiB, passed to template. Default is 1024 :param int vcpus: CPUs, passed to template. Default is 1 :param str arch: CPU architecture. Default is 'x86_64' - :param str title: Title, passed to template. Default is 'Linux' - :param str project: Project, passed to template. Default is 'Linux' - :param str releasever: Release version, passed to template. Default is 34 + :param str title: Title, passed to template. Default is 'Red Hat Enterprise Linux' + :param str project: Project, passed to template. Default is 'Red Hat Enterprise Linux' + :param str releasever: Release version, passed to template. Default is 9 """ if not (disk_img and template and outfile): return None diff --git a/src/pylorax/dnfbase.py b/src/pylorax/dnfbase.py index de9c956a..3ea18545 100644 --- a/src/pylorax/dnfbase.py +++ b/src/pylorax/dnfbase.py @@ -25,7 +25,7 @@ from pylorax.sysutils import flatconfig def get_dnf_base_object(installroot, sources, mirrorlists=None, repos=None, enablerepos=None, disablerepos=None, - tempdir="/var/tmp", proxy=None, releasever="34", + tempdir="/var/tmp", proxy=None, releasever="9", cachedir=None, logdir=None, sslverify=True, dnfplugins=None): """ Create a dnf Base object and setup the repositories and installroot diff --git a/src/sbin/mkksiso b/src/sbin/mkksiso index fcc59c36..16f47bce 100755 --- a/src/sbin/mkksiso +++ b/src/sbin/mkksiso @@ -62,7 +62,7 @@ class MkefibootTool(Tool): """Create the efiboot.img needed for EFI booting""" tools = ["mkefiboot"] - def run(self, isodir, tmpdir, product="Fedora"): + def run(self, isodir, tmpdir, product="Red Hat Enterprise Linux"): cmd = ["mkefiboot", "--label=ANACONDA"] if log.root.level < log.INFO: cmd.append("--debug") @@ -82,7 +82,7 @@ class MkmacbootTool(MkefibootTool): requirements = ["/usr/share/pixmaps/bootloader/fedora.icns", "/usr/share/pixmaps/bootloader/fedora-media.vol"] - def run(self, isodir, tmpdir, product="Fedora"): + def run(self, isodir, tmpdir, product="Red Hat Enterprise Linux"): cmd = ["mkefiboot", "--label", "ANACONDA", "--apple", "--icon", self.requirements[0], "--diskname", self.requirements[1],