summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerkin <e.altunbas@vyos.io>2021-06-20 14:31:02 +0300
committererkin <e.altunbas@vyos.io>2021-06-20 14:31:02 +0300
commit72c92a5d3162f5f1081dc831a81b19ea1686f366 (patch)
tree14c26c508cf161339c2fd0499354cbd1a49152c0
parenta2db767cccca2c78c1dcc869157018e8d923ec08 (diff)
downloadvyos-1x-72c92a5d3162f5f1081dc831a81b19ea1686f366.tar.gz
vyos-1x-72c92a5d3162f5f1081dc831a81b19ea1686f366.zip
Add `save` line
-rwxr-xr-xsrc/op_mode/generate_public_key_command.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/op_mode/generate_public_key_command.py b/src/op_mode/generate_public_key_command.py
index 5f9133bf1..7a7b6c923 100755
--- a/src/op_mode/generate_public_key_command.py
+++ b/src/op_mode/generate_public_key_command.py
@@ -37,4 +37,5 @@ print('configure')
print(f'set system login user {username} authentication public-keys {identifier} key {key}')
print(f'set system login user {username} authentication public-keys {identifier} type {algorithm}')
print('commit')
+print('save')
print('exit')