0% found this document useful (0 votes)
58 views4 pages

VMonMacM1M2M3

Uploaded by

FAHIMA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views4 pages

VMonMacM1M2M3

Uploaded by

FAHIMA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

1.

Install rosetta
Open terminal and execute below command
/usr/sbin/softwareupdate --install-rosetta --agree-to-license

2. Install vagrant with homebrew


Open terminal and execute below command
brew install vagrant

3. Create an account on Broadcom


Open the link in the browser and click on register.
https://support.broadcom.com

4. Download & Install VMWare Fusion Tech Preview


1. Login
2. Click on top right corner and select VMware Cloud Foundation

3. Click My Downloads.
4. Select VMware Fusion
5. Select VMware Fusion 13 Pro for Personal Use
6. Select 13.6
7. Click on the Download Icon

8. Double click on the downloaded software to start the installation.


9. Double click on the fusion icon to start the installation and enter the password.
5. Allow vmware Fusion in Accessibility of Security and Privacy Settings.
1. Open System Settings.
2. Go to Privacy & Security
3. Select Accessibility
4. Toggle on the switch on VMware Fusion

6. Installing vagrant VMware provider.


Open terminal and execute below command.
brew install --cask vagrant-vmware-utility

7. Install vmware plugin for vagrant


Open terminal and execute below command.
vagrant plugin install vagrant-vmware-desktop

8. Create folder for ubuntu vm


Open terminal and execute below command.
cd
mkdir -p Desktop/vms/ubuntu
cd Desktop/vms/ubuntu
9. Create a file named Vagrantfile with below content.
vim Vagrantfile

Hit i on keyboard to get into insert mode of the file.

Copy paste below content in the Vagrantfile

Vagrant.configure("2") do |config|
config.vm.box = "spox/ubuntu-arm"
config.vm.box_version = "1.0.0"
config.vm.network "private_network", ip: "192.168.56.11"
config.vm.provider "vmware_desktop" do |vmware|
vmware.gui = true
vmware.allowlist_verified = true
end
end

9. Bring up vm
Make sure in the terminal, you are in the same folder where Vagrantfile is created.
vagrant up
vagrant ssh
sudo -i
ip addr show
exit
exit
vagrant halt
vagrant destroy

10. Create folder for centos vm


Open terminal and execute below command.
cd
mkdir -p Desktop/vms/centos
cd Desktop/vms/centos

11. Create a file named Vagrantfile with below content.


vim Vagrantfile

Hit i on keyboard to get into insert mode of the file.


Copy paste below content in the Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "bandit145/centos_stream9_arm"
config.vm.network "private_network", ip: "192.168.56.12"
config.vm.provider "vmware_desktop" do |vmware|
vmware.gui = true
vmware.allowlist_verified = true
end
end

12. Bring up vm
Make sure in the terminal, you are in the same folder where Vagrantfile is created.
vagrant up
vagrant ssh
sudo -i
ip addr show
exit
exit
vagrant halt
vagrant destroy

You might also like