diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2021-03-24 15:48:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2021-03-24 15:48:39 +0000 |
commit | e23127473b81bdbc1f4630036ddec3c46ee17dda (patch) | |
tree | e6171df583a6cace7ef966b0e22f298a64b09b7b /src/booking/quick_deployer.py | |
parent | b14e617edb86628f31648847c0b96206764ef44c (diff) | |
parent | e817c3203fde0ca9bfb66a00919050cbdd1179e8 (diff) |
Merge "Front end fixes for enforcing hostname"
Diffstat (limited to 'src/booking/quick_deployer.py')
-rw-r--r-- | src/booking/quick_deployer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/booking/quick_deployer.py b/src/booking/quick_deployer.py index 8b3af6c..7865ee4 100644 --- a/src/booking/quick_deployer.py +++ b/src/booking/quick_deployer.py @@ -111,7 +111,8 @@ def update_template(old_template, image, hostname, user): profile=old_config.profile, image=image_to_set, template=template, - is_head_node=old_config.is_head_node + is_head_node=old_config.is_head_node, + name=hostname if len(old_template.getConfigs()) == 1 else old_config.name ) for old_iface_config in old_config.interface_configs.all(): |