diff --git a/imageroot/actions/import-module/50import_configuration b/imageroot/actions/import-module/50import_configuration index 3b60065f..305bb9c1 100755 --- a/imageroot/actions/import-module/50import_configuration +++ b/imageroot/actions/import-module/50import_configuration @@ -8,7 +8,6 @@ import sys import json import agent -import ipaddress request = json.load(sys.stdin) @@ -24,9 +23,3 @@ for evar in [ 'SVCPASS', ]: agent.set_env(evar, ienv[evar]) - -with agent.redis_connect() as rdb: - cluster_network = ipaddress.ip_network(rdb.get('cluster/network')) -if ipaddress.ip_address(ienv['IPADDRESS']) in cluster_network: - # Required by Samba to bind interfaces without broadcast address: - agent.set_env('PREFIXLEN', str(cluster_network.prefixlen)) diff --git a/imageroot/actions/import-module/50resume_flag b/imageroot/actions/import-module/50resume_flag new file mode 120000 index 00000000..45f116c6 --- /dev/null +++ b/imageroot/actions/import-module/50resume_flag @@ -0,0 +1 @@ +../restore-module/20resume_flag \ No newline at end of file