diff options
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/scripting/bin/upgradeprovision | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision index 90586ded64..2bae4b9c23 100755 --- a/source4/scripting/bin/upgradeprovision +++ b/source4/scripting/bin/upgradeprovision @@ -197,6 +197,7 @@ def check_for_DNS(refprivate, private): provision""" spnfile = "%s/spn_update_list" % private + dnsfile = "%s/dns_update_list" % private namedfile = lp.get("dnsupdate:path") if not namedfile: @@ -205,6 +206,9 @@ def check_for_DNS(refprivate, private): if not os.path.exists(spnfile): shutil.copy("%s/spn_update_list" % refprivate, "%s" % spnfile) + if not os.path.exists(dnsfile): + shutil.copy("%s/dns_update_list" % refprivate, "%s" % dnsfile) + destdir = "%s/new_dns" % private dnsdir = "%s/dns" % private |