mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s4-provision: fixed use of rndc command from python
rndc command is now a list
This commit is contained in:
@ -1541,7 +1541,7 @@ def create_zone_file(lp, message, paths, targetdir, setup_path, dnsdomain,
|
||||
|
||||
# we need to freeze the zone while we update the contents
|
||||
if targetdir is None:
|
||||
rndc = lp.get("rndc command")
|
||||
rndc = ' '.join(lp.get("rndc command"))
|
||||
os.system(rndc + " freeze " + lp.get("realm"))
|
||||
|
||||
setup_file(setup_path("provision.zone"), paths.dns, {
|
||||
|
Reference in New Issue
Block a user