新增浙江二级平台的内容

This commit is contained in:
zeaslity
2024-12-18 17:42:35 +08:00
parent 433885c886
commit 52f6fafc90
48 changed files with 44147 additions and 17 deletions

View File

@@ -39,3 +39,11 @@ scp /etc/docker/daemon.json root@${server}:/etc/docker/
ssh root@${server} "systemctl restart docker && sleep 3 && docker info"
sed -i '/^$/d' ~/.ssh/*
chmod +x /usr/local/bin/octopus-agent
printf 'firewall\n' | octopus-agent --mode=bastion
printf 'sysconfig\n' | octopus-agent --mode=bastion
printf 'swap\n' | octopus-agent --mode=bastion
printf 'selinux\n' | octopus-agent --mode=bastion
printf 'docker\n' | octopus-agent --mode=bastion
printf 'dockercompose\n' | octopus-agent --mode=bastion