Don't set a domain except on managed networks
This commit is contained in:
parent
65be917542
commit
3816da6be6
|
@ -250,7 +250,7 @@ def add_network(zk_conn, vni, description, nettype,
|
|||
else:
|
||||
dhcp6_flag = 'False'
|
||||
|
||||
if not domain:
|
||||
if nettype == 'managed' and not domain:
|
||||
domain = '{}.local'.format(description)
|
||||
|
||||
# Make sure the DHCP4 flag is always boolean
|
||||
|
|
Loading…
Reference in New Issue