[ Service ] [ Executor ] fix bugs

This commit is contained in:
zeaslity
2023-08-11 10:35:12 +08:00
parent d2c57f8d7b
commit 06170c1024
4 changed files with 24 additions and 20 deletions

View File

@@ -377,6 +377,7 @@ fi
agentServerInfoFile="/octopus-agent/octopus-agent.conf"
#cat >/etc/environment.d/octopus-agent.conf <<EOF
touch $ageagentServerInfoFile
cat >"$agentServerInfoFile"<<EOF
serverName: ${city}-${hostArch}-${machineNumber}
serverIpPbV4: $public_ipv4