Update the default release version to 34
This commit is contained in:
parent
b07151c6ee
commit
cd77f6d4d5
@ -61,7 +61,7 @@ else:
|
|||||||
DRACUT_DEFAULT = ["--xz", "--install", "/.buildstamp", "--no-early-microcode", "--add", "fips"]
|
DRACUT_DEFAULT = ["--xz", "--install", "/.buildstamp", "--no-early-microcode", "--add", "fips"]
|
||||||
|
|
||||||
# Used for DNF conf.module_platform_id
|
# Used for DNF conf.module_platform_id
|
||||||
DEFAULT_PLATFORM_ID = "platform:f32"
|
DEFAULT_PLATFORM_ID = "platform:f34"
|
||||||
|
|
||||||
class ArchData(DataHolder):
|
class ArchData(DataHolder):
|
||||||
lib64_arches = ("x86_64", "ppc64le", "s390x", "ia64", "aarch64")
|
lib64_arches = ("x86_64", "ppc64le", "s390x", "ia64", "aarch64")
|
||||||
|
@ -306,7 +306,7 @@ def lmc_parser(dracut_default=""):
|
|||||||
|
|
||||||
parser.add_argument("--project", default="Linux",
|
parser.add_argument("--project", default="Linux",
|
||||||
help="substituted for @PROJECT@ in bootloader config files")
|
help="substituted for @PROJECT@ in bootloader config files")
|
||||||
parser.add_argument("--releasever", default="32",
|
parser.add_argument("--releasever", default="34",
|
||||||
help="substituted for @VERSION@ in bootloader config files")
|
help="substituted for @VERSION@ in bootloader config files")
|
||||||
parser.add_argument("--volid", default=None, help="volume id")
|
parser.add_argument("--volid", default=None, help="volume id")
|
||||||
parser.add_argument("--squashfs-only", action="store_true", default=False,
|
parser.add_argument("--squashfs-only", action="store_true", default=False,
|
||||||
|
@ -149,7 +149,7 @@ def dracut_args(opts):
|
|||||||
|
|
||||||
def make_appliance(disk_img, name, template, outfile, networks=None, ram=1024,
|
def make_appliance(disk_img, name, template, outfile, networks=None, ram=1024,
|
||||||
vcpus=1, arch=None, title="Linux", project="Linux",
|
vcpus=1, arch=None, title="Linux", project="Linux",
|
||||||
releasever="32"):
|
releasever="34"):
|
||||||
"""
|
"""
|
||||||
Generate an appliance description file
|
Generate an appliance description file
|
||||||
|
|
||||||
@ -163,7 +163,7 @@ def make_appliance(disk_img, name, template, outfile, networks=None, ram=1024,
|
|||||||
:param str arch: CPU architecture. Default is 'x86_64'
|
:param str arch: CPU architecture. Default is 'x86_64'
|
||||||
:param str title: Title, passed to template. Default is 'Linux'
|
:param str title: Title, passed to template. Default is 'Linux'
|
||||||
:param str project: Project, 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 32
|
:param str releasever: Release version, passed to template. Default is 34
|
||||||
"""
|
"""
|
||||||
if not (disk_img and template and outfile):
|
if not (disk_img and template and outfile):
|
||||||
return None
|
return None
|
||||||
|
@ -25,7 +25,7 @@ from pylorax.sysutils import flatconfig
|
|||||||
|
|
||||||
def get_dnf_base_object(installroot, sources, mirrorlists=None, repos=None,
|
def get_dnf_base_object(installroot, sources, mirrorlists=None, repos=None,
|
||||||
enablerepos=None, disablerepos=None,
|
enablerepos=None, disablerepos=None,
|
||||||
tempdir="/var/tmp", proxy=None, releasever="32",
|
tempdir="/var/tmp", proxy=None, releasever="34",
|
||||||
cachedir=None, logdir=None, sslverify=True, dnfplugins=None):
|
cachedir=None, logdir=None, sslverify=True, dnfplugins=None):
|
||||||
""" Create a dnf Base object and setup the repositories and installroot
|
""" Create a dnf Base object and setup the repositories and installroot
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user