Use string for releasever not int (#1067746)
environmental variables need to be strings and there is no compelling reason to force this to an int. Related: rhbz#1067746
This commit is contained in:
parent
e172803d4a
commit
0a547d8f2a
@ -365,7 +365,7 @@ def get_arch(mount_dir):
|
||||
|
||||
def make_appliance(disk_img, name, template, outfile, networks=None, ram=1024,
|
||||
vcpus=1, arch=None, title="Linux", project="Linux",
|
||||
releasever=17):
|
||||
releasever="7.0"):
|
||||
"""
|
||||
Generate an appliance description file
|
||||
|
||||
@ -800,7 +800,7 @@ if __name__ == '__main__':
|
||||
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", type=int, default=16,
|
||||
parser.add_argument( "--releasever", default="21",
|
||||
help="substituted for @VERSION@ in bootloader config files" )
|
||||
parser.add_argument( "--volid", default=None, help="volume id")
|
||||
parser.add_argument( "--squashfs_args",
|
||||
|
Loading…
Reference in New Issue
Block a user