Last active
August 23, 2020 01:47
-
-
Save wznpp1/3805bf4c0e9ee3a808f8438967773667 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get -y update | |
apt-get install -y curl unzip | |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash | |
cd /root/ | |
rm -rf /root/app/ | |
rm -rf /root/azure/ | |
git clone https://github.com/wznpp1/azure.git | |
mv azure/app/ /root/ | |
mv azure/etc/netplan/60-static.yaml /etc/netplan/60-static.yaml | |
netplan apply | |
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config | |
service sshd restart | |
echo root:lzhrwwc1 | chpasswd | |
wget https://gist.githubusercontent.com/wznpp1/b0c22e6f56c508999254de4e38b12a91/raw/get.ubuntu.sh | |
wget https://gist.githubusercontent.com/wznpp1/b1190bd8b9e9c99d30ee77556cc9ac18/raw/002.sh | |
wget https://gist.githubusercontent.com/wznpp1/f079f57393862779d4f827756e073dfb/raw/001.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment