|
|
@ -123,7 +123,7 @@ sed -i 's/#UseDNS.*/UseDNS=no/g' /etc/ssh/sshd_config |
|
|
|
#yum install -y python3 python3-devel gcc |
|
|
|
#yum install -y python3 python3-devel gcc |
|
|
|
#curl -s -L https://download.beyourself.org.cn/python-project/os/jumpserver-register.py -o /opt/jumpserver-register.py |
|
|
|
#curl -s -L https://download.beyourself.org.cn/python-project/os/jumpserver-register.py -o /opt/jumpserver-register.py |
|
|
|
#pip3 install requests httpsig -i https://mirrors.aliyun.com/pypi/simple |
|
|
|
#pip3 install requests httpsig -i https://mirrors.aliyun.com/pypi/simple |
|
|
|
#python3 /opt/jumpserver-register.py `ip -4 -f inet a show dev ens33 | awk '/inet/{print $2}' | cut -d'/' -f 1` 192.168.96.180 47849e56-81b5-4fe6-a7d4-7d7578abfc32 ab17fa93-8f4f-4547-802f-be81a6197937 d6638212-8896-4596-9b30-ec0e5aa5905c 9ead5ec2-ba29-4b0a-b4d1-75657eec4306 |
|
|
|
#python3 /opt/jumpserver-register.py \`ip -4 -f inet a show dev ens33 | awk '/inet/{print $2}' | cut -d'/' -f 1\` 192.168.96.180 47849e56-81b5-4fe6-a7d4-7d7578abfc32 ab17fa93-8f4f-4547-802f-be81a6197937 d6638212-8896-4596-9b30-ec0e5aa5905c 9ead5ec2-ba29-4b0a-b4d1-75657eec4306 |
|
|
|
|
|
|
|
|
|
|
|
%end |
|
|
|
%end |
|
|
|
EOF |
|
|
|
EOF |
|
|
|