From c9a92b01fab00d656ce3be5702634e76bcab6a23 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 15 Jan 2023 13:29:43 +0100 Subject: ntp: T3008: TypeError bugfix when calling rename() --- src/migration-scripts/ntp/1-to-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/migration-scripts') 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 -- cgit v1.2.3