File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 329
329
ssh_settings=$( ssh " ${ssh_args[@]} " -G " ${ssh_connection} " )
330
330
ssh_user=$( echo " $ssh_settings " | awk ' /^user / { print $2 }' )
331
331
ssh_host=$( echo " $ssh_settings " | awk ' /^hostname / { print $2 }' )
332
- ssh_port=$( echo " $ssh_settings " | awk ' /^port / { print $2 }' )
333
332
334
333
step Uploading install SSH keys
335
334
until
@@ -548,14 +547,6 @@ if [[ ${is_installer-n} == "y" ]] && [[ ${ssh_user} != "root" ]]; then
548
547
ssh_connection=" root@${ssh_host} "
549
548
fi
550
549
551
- if [[ ${build_on_remote-n} == " y" ]]; then
552
- pubkey=$( ssh-keyscan -p " $ssh_port " -t ed25519 " $ssh_host " 2> /dev/null || {
553
- echo " ERROR: failed to retrieve host public key for ${ssh_connection} " >&2
554
- exit 1
555
- })
556
- pubkey=$( echo " $pubkey " | sed -e ' s/^[^ ]* //' | base64 -w0)
557
- fi
558
-
559
550
if [[ ${phases[disko]-} == 1 ]]; then
560
551
runDisko " $disko_script "
561
552
fi
You can’t perform that action at this time.
0 commit comments