Last active
May 24, 2018 15:43
-
-
Save jwkidd3/d3d40b3c67ae26d5c39cb0903ba03954 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
sensible-editor cloud-init-jenkins.txt | |
az vm create --resource-group table0jkjenkinsRG --name table0jkjenkins --image UbuntuLTS --admin-user azureuser --generate-ssh-keys --custom-data cloud-init-jenkins.txt | |
az vm open-port --resource-group table0jkjenkinsRG --name table0jkjenkins --port 8080 --priority 1001 | |
az vm show --resource-group table0jkjenkinsRG --name table0jkjenkins -d --query [publicIps] --o tsv | |
az vm list-ip-addresses -g jenkinsrg -n jkjenkins | |
ssh azureuser@<ip address> | |
sudo cat /var/lib/jenkins/secrets/initialAdminPassword |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment