mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 22:30:47 +01:00
add quotes to agent install script
This commit is contained in:
@@ -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))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user