-
-
Save 1eedaegon/6a5a2ab64f09b0800eadf3f84dad96f8 to your computer and use it in GitHub Desktop.
# 1. Download and install go | |
https://golang.org/doc/install | |
# 2. Download and install VMware workstation player | |
https://www.vmware.com/products/workstation-player.html | |
# 3. Download and install vagrant | |
https://www.vagrantup.com/downloads | |
# 4. Download vagrant vmware utility | |
https://developer.hashicorp.com/vagrant/downloads/vmware | |
# 5. Install vagrant-vmware-desktop | |
vagrant plugin install vagrant-vmware-desktop | |
# 6. Update vagrant-vmware-desktop | |
vagrant plugin update vagrant-vmware-desktop | |
# 7. Start service vagrant-vmware-desktop(Need administrator) | |
net.exe start vagrant-vmware-utility | |
# 8. Vagrant init and make vagrantfile with failure | |
cd [ANY_YOU_WANT] | |
vagrant init | |
# 9. Install base box | |
vagrant box add hashicorp/bionic64 | |
PS C:\Users\[CUSTOM_PATH]> vagrant box add hashicorp/bionic64 | |
==> box: Loading metadata for box 'hashicorp/bionic64' | |
box: URL: https://vagrantcloud.com/hashicorp/bionic64 | |
This box can work with multiple providers! The providers that it | |
can work with are listed below. Please review the list and choose | |
the provider you will be working with. | |
1) hyperv | |
2) virtualbox | |
3) vmware_desktop | |
Enter your choice: 3 | |
==> box: Adding box 'hashicorp/bionic64' (v1.0.282) for provider: vmware_desktop | |
box: Downloading: https://vagrantcloud.com/hashicorp/boxes/bionic64/versions/1.0.282/providers/vmware_desktop.box | |
box: | |
==> box: Successfully added box 'hashicorp/bionic64' (v1.0.282) for 'vmware_desktop'! | |
# 10. Edit vagrant file | |
# Edit this: config.vm.box = "hashicorp/bionic64" | |
# 11. Vagrant up | |
vagrant up --provider vmware_desktop | |
# 12. Check VM is running | |
vagrant status | |
Current machine states: | |
default running (vmware_desktop) | |
# 13. Connect to VM | |
vagrant ssh | |
vagrant@vagrant:~$ | |
# 14. Happy linux | |
grep . /etc/*-release | |
Thanks for your prompt response. I was able to to find a file generator online and I think I should be able to build upon that file from what I am learning thus far. I will most likely update on here as I progress. As mentioned, I am new to all of this and it can be overwhelming at times but im not giving up. I think this is the best way to learn and im loving the challenge.
To be clear when I am trying to do is provision 3 VM for a Kubernetes cluster that will include a single 1 master node and 2 worker nodes. The instructions I have is to use virtual box but I want to use VMware workstation but I noticed that I also have to install some utility and plugin. I think the first part is to spin up the VM and instead spinning them up manually, I want to have the hands ion experience to install them with a vagrant file.
I will most likely be documenting my progress on my profile and share the information with anyone that's interested.
Thanks for your help.
I hope this answer helps you on your journey, good luck 👍
I was able to figure it out eventually. I’m surprised there are not many videos or materials out there to explain the process. I saw a video and it discussed using chocolates, downloading it and doing some crazy stuff another one discussed using brewers or some name like that but I didn’t have to go through all that.
I’m going to write a blog to document it and so that people can use it should in case they want to stick to VMware workstation pro 17 as the provider
Thanks!
Here is a RHEL image and a virtualbox, but you can apply it in Oracle + Vmware by looking at the image name and network settings.