File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -250,10 +250,10 @@ if [[ -z "$IP" ]]; then
250250fi
251251HOST=$(echo $FQDN | awk -F'.' '{print $1}')
252252IP=$(whiptail --title "step ca certificate options" --inputbox 'IP (e.g. x.x.x.x)' 10 50 "$IP" 3>&1 1>&2 2>&3)
253- HOST=$(whiptail --title "step ca init options" --inputbox 'HOST (e.g. MyHostName)' 10 50 "$HOST" 3>&1 1>&2 2>&3)
254- VALID_TO=$(whiptail --title "step ca init options" --inputbox 'VALID_TO (e.g. 2034-01-31T00:00:00Z)' 10 50 "2034-01-31T00:00:00Z" 3>&1 1>&2 2>&3)
253+ HOST=$(whiptail --title "step ca certificate options" --inputbox 'HOST (e.g. MyHostName)' 10 50 "$HOST" 3>&1 1>&2 2>&3)
254+ VALID_TO=$(whiptail --title "step ca certificate options" --inputbox 'VALID_TO (e.g. 2034-01-31T00:00:00Z)' 10 50 "2034-01-31T00:00:00Z" 3>&1 1>&2 2>&3)
255255
256- if whiptail_yesno=$(whiptail --title "step ca init options" --yesno "Continue with below?\n
256+ if whiptail_yesno=$(whiptail --title "step ca certificate options" --yesno "Continue with below?\n
257257HOST: $HOST
258258IP: $IP
259259FQDN: $FQDN
You can’t perform that action at this time.
0 commit comments