From 72c92a5d3162f5f1081dc831a81b19ea1686f366 Mon Sep 17 00:00:00 2001 From: erkin Date: Sun, 20 Jun 2021 14:31:02 +0300 Subject: Add `save` line --- src/op_mode/generate_public_key_command.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/op_mode/generate_public_key_command.py') 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') -- cgit v1.2.3