diff options
author | aapostoliuk <a.apostoliuk@vyos.io> | 2024-01-05 16:18:15 +0200 |
---|---|---|
committer | aapostoliuk <a.apostoliuk@vyos.io> | 2024-01-09 15:40:41 +0200 |
commit | 4ffec67d04670192d9b722353cbaef04cb0ba129 (patch) | |
tree | ccab9114d8199d5033d92f07c3141c433a822bc4 /src/migration-scripts/ipoe-server | |
parent | 864524ba86b0a4d57ab64d6e9398c3fd5eb2fce4 (diff) | |
download | vyos-1x-4ffec67d04670192d9b722353cbaef04cb0ba129.tar.gz vyos-1x-4ffec67d04670192d9b722353cbaef04cb0ba129.zip |
T5688: Changed 'range' to multi in 'client-ip-pool' for accell-ppp
Changed node 'range' to multi in 'client-ip-pool' for accell-ppp
services.
Added completionHelp to default-pool and next-pool.
Fixed verification in vpn l2tp config script.
Diffstat (limited to 'src/migration-scripts/ipoe-server')
-rwxr-xr-x | src/migration-scripts/ipoe-server/1-to-2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/ipoe-server/1-to-2 b/src/migration-scripts/ipoe-server/1-to-2 index c8cec6835..11d7911e9 100755 --- a/src/migration-scripts/ipoe-server/1-to-2 +++ b/src/migration-scripts/ipoe-server/1-to-2 @@ -57,7 +57,7 @@ for pool_name in config.list_nodes(namedpools_base): pool_path = namedpools_base + [pool_name] if config.exists(pool_path + ['subnet']): subnet = config.return_value(pool_path + ['subnet']) - config.set(pool_base + [pool_name, 'range'], value=subnet) + config.set(pool_base + [pool_name, 'range'], value=subnet, replace=False) # Get netmask from subnet mask = subnet.split("/")[1] if config.exists(pool_path + ['next-pool']): |