Add dosh update command
This commit is contained in:
@@ -47,8 +47,11 @@ try {
|
||||
$clientConfig = Join-Path $configDir "client.toml"
|
||||
if ($ForceConfig -or -not (Test-Path $clientConfig)) {
|
||||
$defaultServer = if ($Server) { $Server } else { "user@example.com" }
|
||||
$updateRepo = if ($Repo) { $Repo } else { "https://git.palav.dev/Palav/dosh.git" }
|
||||
$doshHostLine = if ($DoshHost) { "dosh_host = `"$DoshHost`"" } else { "# dosh_host = `"public.example.com`"" }
|
||||
@"
|
||||
update_repo = "$updateRepo"
|
||||
update_port = $Port
|
||||
server = "$defaultServer"
|
||||
$doshHostLine
|
||||
ssh_auth_command = "~/.local/bin/dosh-auth"
|
||||
|
||||
Reference in New Issue
Block a user