Skip to content

Instantly share code, notes, and snippets.

@jwkidd3
Last active October 30, 2018 18:24
Show Gist options
  • Save jwkidd3/35847c283d5d24898c85ff348dfda1d3 to your computer and use it in GitHub Desktop.
Save jwkidd3/35847c283d5d24898c85ff348dfda1d3 to your computer and use it in GitHub Desktop.
add to cloud-init
sudo apt-get update
sudo apt-get install xfce4
sudo apt-get install xrdp
echo xfce4-session >~/.xsession
sudo service xrdp restart
sudo curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -c current -P chefdk
sudo apt-get install gedit
sudo apt-get install firefox
execute from cli
az vm open-port --resource-group <myResourceGroupJenkins> --name <myVM> --port 8080 --priority 1001
az vm open-port --resource-group <myResourceGroup> --name <myVM> --port 3389 --priority 1002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment