mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 04:42:33 +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 (
|
||||
installScript = `AGENT_NAME={{.Name}} \
|
||||
AGENT_PORT={{.Port}} \
|
||||
AGENT_CA_CERT={{.CACert}} \
|
||||
AGENT_SSL_CERT={{.SSLCert}} \
|
||||
installScript = `AGENT_NAME="{{.Name}}" \
|
||||
AGENT_PORT="{{.Port}}" \
|
||||
AGENT_CA_CERT="{{.CACert}}" \
|
||||
AGENT_SSL_CERT="{{.SSLCert}}" \
|
||||
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))
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue