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
d2de389cba
commit
cee25952d4
@ -393,7 +393,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=17):
|
||||
releasever="7.0"):
|
||||
"""
|
||||
Generate an appliance description file
|
||||
|
||||
@ -823,7 +823,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", type=int, default=7,
|
||||
parser.add_argument( "--releasever", default="7.0",
|
||||
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