File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2002,9 +2002,9 @@ ssh_extract_keys_from_file() {
20022002 tr -d ' \r' < " $f " | awk '
20032003 /^[[:space:]]*#/ {next}
20042004 /^[[:space:]]*$/ {next}
2005- # nackt: typ base64 [comment]
2005+ # bare format: type base64 [comment]
20062006 /^(ssh-(rsa|ed25519)|ecdsa-sha2-nistp256|sk-(ssh-ed25519|ecdsa-sha2-nistp256))[[:space:]]+/ {print; next}
2007- # mit Optionen: finde ab erstem Key-Typ
2007+ # with options: find from first key-type onward
20082008 {
20092009 match($0, /(ssh-(rsa|ed25519)|ecdsa-sha2-nistp256|sk-(ssh-ed25519|ecdsa-sha2-nistp256))[[:space:]]+/)
20102010 if (RSTART>0) { print substr($0, RSTART) }
@@ -3520,7 +3520,7 @@ create_lxc_container() {
35203520 if [[ " $PCT_OSTYPE " == " debian" ]]; then
35213521 OSVER=" $( parse_template_osver " $TEMPLATE " ) "
35223522 if [[ -n " $OSVER " ]]; then
3523- # Proactive, aber ohne Abbruch – nur Angebot
3523+ # Proactive, but without abort – only offer
35243524 offer_lxc_stack_upgrade_and_maybe_retry " no" || true
35253525 fi
35263526 fi
Original file line number Diff line number Diff line change @@ -683,7 +683,7 @@ exit_script() {
683683# ------------------------------------------------------------------------------
684684get_header () {
685685 local app_name=$( echo " ${APP,,} " | tr -d ' ' )
686- local app_type=${APP_TYPE:- ct} # Default zu 'ct' falls nicht gesetzt
686+ local app_type=${APP_TYPE:- ct} # Default to 'ct' if not set
687687 local header_url=" https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/${app_type} /headers/${app_name} "
688688 local local_header_path=" /usr/local/community-scripts/headers/${app_type} /${app_name} "
689689
You can’t perform that action at this time.
0 commit comments