Update default releasever to Fedora 29 (rawhide)

There was Fedora 25 which is now unsupported.
This commit is contained in:
Jiri Konecny 2018-02-23 11:19:47 +01:00 committed by Brian C. Lane
parent 7bc3732bda
commit 2f3de6060b
3 changed files with 4 additions and 4 deletions

View File

@ -279,7 +279,7 @@ def lmc_parser(dracut_default=""):
help="Substituted for @TITLE@ in bootloader config files")
parser.add_argument("--project", default="Linux",
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")
parser.add_argument("--volid", default=None, help="volume id")
parser.add_argument("--squashfs_args",

View File

@ -342,7 +342,7 @@ def squashfs_args(opts):
def make_appliance(disk_img, name, template, outfile, networks=None, ram=1024,
vcpus=1, arch=None, title="Linux", project="Linux",
releasever="25"):
releasever="29"):
"""
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 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 25
:param str releasever: Release version, passed to template. Default is 29
"""
if not (disk_img and template and outfile):
return None

View File

@ -137,7 +137,7 @@ def main():
def get_dnf_base_object(installroot, sources, mirrorlists=None, repos=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):
""" Create a dnf Base object and setup the repositories and installroot