Commit 38a0e9cd authored by Svein Ove Undal's avatar Svein Ove Undal


parent 8ed34d48
Pipeline #27123 failed with stages
in 2 minutes and 10 seconds
......@@ -11,8 +11,8 @@ def main(no_restart=False):
if snmp and snmp.upper() == "TRUE": snmp()
......@@ -210,7 +210,7 @@ def restartAndTest():
for IF in iIF.split(): shell("ifdown {0}; ifup {0}".format(iIF))
for IF in eIF.split(): shell("ifdown {0}; ifup {0}".format(eIF))
if multicast and multicast.upper() == "TRUE": shell("ifdown eth0:133; ifup eth0:133")
if multicast and multicast.upper() == "TRUE": shell("ifdown {0}:133; ifup {0}:133".format(eIF))
shell("/sbin/sysctl -p /etc/sysctl.conf")
if dns_server and dns_server.upper() == 'TRUE': shell("service bind9 restart")
if dhcp_server and dhcp_server.upper() == 'TRUE': shell("service isc-dhcp-server restart; service rsyslog restart")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment