boom/_boom.py | 2 +- boom/command.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/boom/_boom.py b/boom/_boom.py index 4a84b78..d8fff54 100644 --- a/boom/_boom.py +++ b/boom/_boom.py @@ -629,7 +629,7 @@ class Selection(object): os_version_id=args.os_version_id, os_options=args.os_options, os_uname_pattern=args.uname_pattern, - host_id=args.host_profile) + host_id=args.host_id) _log_debug("Initialised %s from arguments" % repr(s)) return s diff --git a/boom/command.py b/boom/command.py index 487b9bd..5a50f98 100644 --- a/boom/command.py +++ b/boom/command.py @@ -2787,9 +2787,7 @@ def main(args): help="Take os-release values from the running host", action="store_true") parser.add_argument("-P", "--host-profile", metavar="PROFILE", type=str, - help="A boom host profile identifier") - parser.add_argument("--host-id", metavar="HOSTID", type=str, - help="A host profile identifier") + help="A boom host profile identifier", dest="host_id") parser.add_argument("--host-name", metavar="HOSTNAME", type=str, help="The host name associated with a host profile") parser.add_argument("-i", "--initrd", metavar="IMG", type=str,