[agent] [ executor ] - execute file

This commit is contained in:
IceDerce
2022-12-11 16:02:53 +08:00
parent 763ec56f0e
commit 2f5bb078cd
12 changed files with 190 additions and 6 deletions

View File

@@ -0,0 +1,26 @@
#!/bin/bash
echo "start to update !"
apt-get update
echo ""
echo "start to install nginx"
apt-get install nginx -y
echo ""
echo "start to uninstall nginx"
apt remove nginx -y
echo ""
echo "start to get ip info"
curl https://ipinfo.io
echo ""
echo "--- end ---"