mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 12:42:34 +02:00
add quotes to agent install script
This commit is contained in:
parent
7850cbc4bf
commit
bc4792b7fd
1 changed files with 4 additions and 4 deletions
|
@ -7,10 +7,10 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
installScript = `AGENT_NAME={{.Name}} \
|
installScript = `AGENT_NAME="{{.Name}}" \
|
||||||
AGENT_PORT={{.Port}} \
|
AGENT_PORT="{{.Port}}" \
|
||||||
AGENT_CA_CERT={{.CACert}} \
|
AGENT_CA_CERT="{{.CACert}}" \
|
||||||
AGENT_SSL_CERT={{.SSLCert}} \
|
AGENT_SSL_CERT="{{.SSLCert}}" \
|
||||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/yusing/go-proxy/main/scripts/install-agent.sh)"`
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/yusing/go-proxy/main/scripts/install-agent.sh)"`
|
||||||
installScriptTemplate = template.Must(template.New("install.sh").Parse(installScript))
|
installScriptTemplate = template.Must(template.New("install.sh").Parse(installScript))
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue