aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Hassick <ahassick@iol.unh.edu>2021-12-14 16:58:34 -0500
committerAdam Hassick <ahassick@iol.unh.edu>2021-12-14 16:58:34 -0500
commit91ae059111a88ce8daf717b968743a4a72ad832e (patch)
tree2455026cd09f2a0477ec806f5528d6c1035949fb /src
parent3cc0c9dc3446d1ab5b6404c100ed65792a125d10 (diff)
Set private/public VLAN pools on generated quick booking template
Signed-off-by: Adam Hassick <ahassick@iol.unh.edu> Change-Id: I82e1bd31ea3109862c503ed70d19328c2b8b4f90
Diffstat (limited to 'src')
-rw-r--r--src/booking/quick_deployer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/booking/quick_deployer.py b/src/booking/quick_deployer.py
index 31865be..4b85d76 100644
--- a/src/booking/quick_deployer.py
+++ b/src/booking/quick_deployer.py
@@ -82,6 +82,8 @@ def update_template(old_template, image, hostname, user, global_cloud_config=Non
description=old_template.description,
public=False,
temporary=True,
+ private_vlan_pool=old_template.private_vlan_pool,
+ public_vlan_pool=old_template.public_vlan_pool,
copy_of=old_template
)