From 2f3de6060b8ddd33913d157551cc0b07361e8183 Mon Sep 17 00:00:00 2001 From: Jiri Konecny Date: Fri, 23 Feb 2018 11:19:47 +0100 Subject: [PATCH] Update default releasever to Fedora 29 (rawhide) There was Fedora 25 which is now unsupported. --- src/pylorax/cmdline.py | 2 +- src/sbin/livemedia-creator | 4 ++-- src/sbin/lorax | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pylorax/cmdline.py b/src/pylorax/cmdline.py index db4bc1bc..49e1f280 100644 --- a/src/pylorax/cmdline.py +++ b/src/pylorax/cmdline.py @@ -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", diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator index 14676104..bee9c7b9 100755 --- a/src/sbin/livemedia-creator +++ b/src/sbin/livemedia-creator @@ -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 diff --git a/src/sbin/lorax b/src/sbin/lorax index 0e2f0feb..3c58be97 100755 --- a/src/sbin/lorax +++ b/src/sbin/lorax @@ -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