From f9b36c0f5fc65cd763e29c3f65876ea08e628ee9 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 13 Aug 2015 09:01:40 -0700 Subject: [PATCH] Change default releasever to 7 (#1253242) 7 is more generic than 7.0 and doesn't need to be changed for each release. Resolves: rhbz#1253242 --- src/sbin/livemedia-creator | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator index 2081dad4..5080bd60 100755 --- a/src/sbin/livemedia-creator +++ b/src/sbin/livemedia-creator @@ -416,7 +416,7 @@ class KernelInfo(object): def make_appliance(disk_img, name, template, outfile, networks=None, ram=1024, vcpus=1, arch=None, title="Linux", project="Linux", - releasever="7.0"): + releasever="7"): """ Generate an appliance description file @@ -1116,7 +1116,7 @@ if __name__ == '__main__': help="Substituted for @TITLE@ in bootloader config files" ) parser.add_argument( "--project", default="Red Hat Enterprise Linux", help="substituted for @PROJECT@ in bootloader config files" ) - parser.add_argument( "--releasever", default="7.0", + parser.add_argument( "--releasever", default="7", help="substituted for @VERSION@ in bootloader config files" ) parser.add_argument( "--volid", default=None, help="volume id") parser.add_argument( "--squashfs_args",