summaryrefslogtreecommitdiff
path: root/src/migration-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts')
-rwxr-xr-xsrc/migration-scripts/ntp/1-to-22
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/ntp/1-to-2 b/src/migration-scripts/ntp/1-to-2
index 1faf0b0e6..4a701e7e5 100755
--- a/src/migration-scripts/ntp/1-to-2
+++ b/src/migration-scripts/ntp/1-to-2
@@ -49,7 +49,7 @@ for server in config.list_nodes(new_base_path + ['server']):
# Rename "allow-clients" -> "allow-client"
if config.exists(new_base_path + ['allow-clients']):
- config.rename(new_base_path + ['allow-client'])
+ config.rename(new_base_path + ['allow-clients'], 'allow-client')
# By default VyOS 1.3 allowed NTP queries for all networks - in chrony we
# explicitly disable this behavior and clients need to be specified using the