From 3b1933b4005e9f191c8b2930db8e3c0cb61b005a Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 15 Mar 2018 13:52:20 -0700 Subject: [PATCH] Update default releasever to Fedora 28 --- 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..6eb0e2c1 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="28", 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..6033713e 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="28"): """ 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 28 """ if not (disk_img and template and outfile): return None diff --git a/src/sbin/lorax b/src/sbin/lorax index 0e2f0feb..d780c2f3 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="28", cachedir=None, logdir=None, sslverify=True): """ Create a dnf Base object and setup the repositories and installroot