Update default releasever to Fedora 29 (rawhide)
There was Fedora 25 which is now unsupported.
This commit is contained in:
parent
7bc3732bda
commit
2f3de6060b
@ -279,7 +279,7 @@ def lmc_parser(dracut_default=""):
|
|||||||
help="Substituted for @TITLE@ in bootloader config files")
|
help="Substituted for @TITLE@ in bootloader config files")
|
||||||
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="25",
|
parser.add_argument("--releasever", default="29",
|
||||||
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_args",
|
parser.add_argument("--squashfs_args",
|
||||||
|
@ -342,7 +342,7 @@ def squashfs_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="25"):
|
releasever="29"):
|
||||||
"""
|
"""
|
||||||
Generate an appliance description file
|
Generate an appliance description file
|
||||||
|
|
||||||
@ -356,7 +356,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 25
|
:param str releasever: Release version, passed to template. Default is 29
|
||||||
"""
|
"""
|
||||||
if not (disk_img and template and outfile):
|
if not (disk_img and template and outfile):
|
||||||
return None
|
return None
|
||||||
|
@ -137,7 +137,7 @@ def main():
|
|||||||
|
|
||||||
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="21",
|
tempdir="/var/tmp", proxy=None, releasever="29",
|
||||||
cachedir=None, logdir=None, sslverify=True):
|
cachedir=None, logdir=None, sslverify=True):
|
||||||
""" 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