新增浙江二级平台的内容
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user