Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Petr Klíma
backupninja
Commits
dc6e7ab7
Commit
dc6e7ab7
authored
4 years ago
by
Emil Breiner
Browse files
Options
Downloads
Patches
Plain Diff
Fix of declining the key comment redirecting to the main menu in the borg helper
Change-Id: I38eb6fb66552ec6664c5ff79251ff5c2702428a0
parent
eea3cfad
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
handlers/borg.helper.in
+8
-5
8 additions, 5 deletions
handlers/borg.helper.in
with
8 additions
and
5 deletions
handlers/borg.helper.in
+
8
−
5
View file @
dc6e7ab7
...
...
@@ -175,12 +175,15 @@ do_borg_ssh_con() {
else
msg
=
'This step will create a ssh key for the local root user with no passphrase (if one does not already exist), '
\
'and attempt to copy '
"
${
borg_user
}
's"
' public ssh key to authorized_keys file of '
"
$borg_user
@
$borg_host
"
'. '
\
'This will allow the local root to make unattended backups to '
"
$borg_user
@
$borg_host
.
\n\n\n
"
\
'Specify an optional comment for the keypair:'
'This will allow the local root to make unattended backups to '
"
$borg_user
@
$borg_host
.
\n\n\n
"
booleanBox
"
$borg_title
"
"
${
msg
}
"
if
[
$?
-eq
0
]
;
then
msg
=
"
${
msg
}
Specify an optional comment for the keypair:"
inputBox
"
$borg_title
"
"
${
msg
}
"
[
$?
=
0
]
||
return
1
key_comment
=
$REPLY
fi
fi
if
[
$?
-eq
0
]
;
then
echo
"Creating local rsa keypair for user..."
if
[
!
-f
"
$borg_id_file
"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment