-
Install Azure CLI
-
Run
az loginand take note of its output:
[
Install Azure CLI
Run az login and take note of its output:
[
| Ohai.plugin(:Vboxipaddress) do | |
| provides "ipaddress" | |
| depends "ipaddress", "network/interfaces", "virtualization/system", "etc/passwd" | |
| collect_data(:default) do | |
| if virtualization["system"] == "vbox" | |
| if etc["passwd"].any? { |k,v| k == "vagrant"} | |
| if network["interfaces"]["eth1"] | |
| network["interfaces"]["eth1"]["addresses"].each do |ip, params| | |
| if params['family'] == ('inet') | |
| ipaddress ip |
| <powershell> | |
| ##### | |
| #DON'T FORGET TO SET/CHANGE THE USERNAME/PASSWORD BELOW! | |
| ##### | |
| $user="chef" | |
| $password="chef" | |
| # Disable password complexity requirements |
| $ sudo yum update | |
| Loaded plugins: fastestmirror, security | |
| Loading mirror speeds from cached hostfile | |
| * base: mirror.squ.edu.om | |
| * extras: mirror.squ.edu.om | |
| * updates: mirror.squ.edu.om |