Avoid writing derived dosh_host in installers
ci / test (push) Canceled after 0s
ci / fuzz-smoke (push) Canceled after 0s
ci / macos-client (macos-aarch64, macos-14) (push) Canceled after 0s
ci / macos-client (macos-x86_64, macos-13) (push) Canceled after 0s
ci / windows-client (push) Canceled after 0s
ci / package-release (linux-x86_64, ubuntu-latest, , , ) (push) Canceled after 0s
ci / package-release (macos-aarch64, macos-14, , , ) (push) Canceled after 0s
ci / package-release (macos-x86_64, macos-13, , , ) (push) Canceled after 0s
ci / package-release (windows-aarch64, windows-latest, aarch64, windows, aarch64-pc-windows-msvc) (push) Canceled after 0s
ci / package-release (windows-x86_64, windows-latest, , , ) (push) Canceled after 0s
ci / remote-bench (push) Canceled after 0s
ci / publish-gitea-release (push) Canceled after 0s

This commit is contained in:
DuProcess
2026-07-16 21:20:13 -04:00
parent 7e4133b315
commit 581350d937
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -687,9 +687,9 @@ EOF
if [ "$force_config" -eq 1 ] || [ ! -f "$hosts_config" ]; then
default_server="${server:-user@example.com}"
if [ -n "$dosh_host" ]; then
host_udp="$dosh_host"
host_udp_line="dosh_host = \"$dosh_host\""
else
host_udp="$default_server"
host_udp_line="# dosh_host = \"server.example.com\""
fi
cat >"$hosts_config" <<EOF
# Example:
@@ -702,7 +702,7 @@ EOF
[default]
ssh = "$default_server"
dosh_host = "$host_udp"
$host_udp_line
port = $port
predict = true
EOF