File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
system-reinstall-bootc/src Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ fn prompt_single_user(user: &crate::users::UserKeys) -> Result<Vec<&crate::users
12
12
let prompt = indoc:: formatdoc! {
13
13
"Found only one user ({user}) with {num_keys} SSH authorized keys.
14
14
Would you like to import its SSH authorized keys
15
- into the root user on the new bootc system?" ,
15
+ into the root user on the new bootc system?
16
+ Then you can login as root@ using those keys." ,
16
17
user = user. user,
17
18
num_keys = user. num_keys( ) ,
18
19
} ;
@@ -28,8 +29,10 @@ fn prompt_user_selection(
28
29
// TODO: Handle https://github.com/console-rs/dialoguer/issues/77
29
30
let selected_user_indices: Vec < usize > = dialoguer:: MultiSelect :: new ( )
30
31
. with_prompt ( indoc:: indoc! {
31
- "Select which user's SSH authorized keys you want to
32
- import into the root user of the new bootc system" ,
32
+ "Select which user's SSH authorized keys you want to import into
33
+ the root user of the new bootc system.
34
+ Then you can login as root@ using those keys.
35
+ (arrow keys to move, space to select)" ,
33
36
} )
34
37
. items ( & keys)
35
38
. interact ( ) ?;
You can’t perform that action at this time.
0 commit comments