{"id":20806672,"url":"https://github.com/jatutert/vagrant","last_synced_at":"2026-03-16T14:02:41.191Z","repository":{"id":214745880,"uuid":"737258794","full_name":"jatutert/Vagrant","owner":"jatutert","description":"HashiCorp Vagrant Configuration and scripting files ","archived":false,"fork":false,"pushed_at":"2025-05-17T19:22:29.000Z","size":724,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-17T20:26:24.460Z","etag":null,"topics":["ruby","vagrant","vagrantfile","virtualbox","vmware-workstation"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jatutert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-12-30T11:29:19.000Z","updated_at":"2025-05-17T19:22:32.000Z","dependencies_parsed_at":"2025-04-11T16:24:57.167Z","dependency_job_id":"fac7ad8b-c27b-4349-85dc-b811bd3c0ad4","html_url":"https://github.com/jatutert/Vagrant","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.33333333333333337","last_synced_commit":"d2f791390a5efa7989d4cc4cd32aef4e94bbe930"},"previous_names":["jatutert/vagrant"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jatutert/Vagrant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jatutert%2FVagrant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jatutert%2FVagrant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jatutert%2FVagrant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jatutert%2FVagrant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jatutert","download_url":"https://codeload.github.com/jatutert/Vagrant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jatutert%2FVagrant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273068857,"owners_count":25039911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ruby","vagrant","vagrantfile","virtualbox","vmware-workstation"],"created_at":"2024-11-17T19:24:02.619Z","updated_at":"2026-03-16T14:02:41.111Z","avatar_url":"https://github.com/jatutert.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vagrant Install\n\nInstalling and configuring Vagrant on your own laptop and/or PC may seem complicated, but it is not at all. \n\nTo get Vagrant working, you need to perform 7 steps. I have described these 7 steps below. \nI myself work with Vagrant within Windows. Hopefully I have described all steps for MACos correctly. If not, please let me know ! \n\nI make the assumption that VMware Workstation Pro or VMware Fusion Pro is installed. If not, this should be done first. \nVMware Workstation Pro and VMWare Fusion Pro is now free for personal use. So that shouldn't be a problem. \n\nVMWare Workstation 17.6 Pro for Windows [Download](https://support.broadcom.com/group/ecx/downloads)\n\nVMware Workstation 17.6 Pro for Linux [Download](https://support.broadcom.com/group/ecx/downloads)\n\nVMware Fusion 13.6 Pro for MACos [Download](https://support.broadcom.com/group/ecx/downloads)\n\n## [Step 1] Downloading the software\n\n### Windows \n\nDownload Vagrant 2.4.3 [Download](https://releases.hashicorp.com/vagrant/2.4.3/vagrant_2.4.3_windows_amd64.msi)\n\nDownload Vagrant VMware Plugin [Download](https://releases.hashicorp.com/vagrant-vmware-utility/1.0.23/vagrant-vmware-utility_1.0.23_windows_amd64.msi)\n\n### MacOS\n\nDownload Vagrant 2.4.3 [Download](https://releases.hashicorp.com/vagrant/2.4.3/vagrant_2.4.3_darwin_amd64.dmg)\n\nDownload Vagrant VMware Plugin [Download](https://releases.hashicorp.com/vagrant-vmware-utility/1.0.23/vagrant-vmware-utility_1.0.23_darwin_amd64.dmg)\n\n## [Step 2a] Installation of Vagrant\n\nInstall Vagrant 2.4.3 and reboot your laptop or PC (**don't skip the reboot!**] \n\nJust click Next, Next, Finish during the installation (default settings). \n\n## [Step 3] Installation of VMware Plugin\n\nInstall Vagrant VMware Plugin (this time no reboot is needed !)  \n\nJust click Next, Next, Finish during the installation. \n\n## [Step 4] Configuration\n\nStart Terminal \n\n### Windows \n```shell\nsetx /M VAGRANT_DEFAULT_PROVIDER \"vmware_desktop\"\nsetx /M VAGRANT_EXPERIMENTAL \"1\"\nsetx /M VAGRANT_SUPPRESS_GO_EXPERIMENTAL_WARNING \"1\"\nsetx /M VAGRANT_VAGRANTFILE \"Vagrantfile-latest.rb\"\nexit\n```\nConfigure VMWare Workstation PRO (or Fusion PRO) to be the default hypervisor for the virtual machines. \n\nI want to use the latest options of Vagrant, so i set the Experimental settings to ON using 1. \n\nThe default name of the vagrantfile is set to Vagrantfile-latest.rb. \n\nIt is very important to close the terminal. Otherwise the settings are not loaded !\n\n### Windows \n```shell\nsetx VAGRANT_CWD \"C:\\Users\\ [your username]  \"\nsetx VAGRANT_VMWARE_CLONE_DIRECTORY \"x:\\Directory of your choice where virtual machines should be stored\"\nsetx VAGRANT_HOME \"x:\\Directory of your choice where Vagrant stores the settings and downloaded boxes\"\nexit\n```\nThe VAGRANT_CWD is the location where VAGRANT searches for the vagrantfile (the configuration file for Vagrant). \n\nThe VAGRANT_VMWARE_CLONE_DIRECTORY is the location where VAGRANT stores the created virtual machines by Vagrant. \n\nExamples:\n\nsetx VAGRANT_CWD \"C:\\Users\\John\" (I use my standard user directory for this)\n\nsetx VAGRANT_VMWARE_CLONE_DIRECTORY \"D:\\VirtualMachines\\Vagrant\" (I want to store the virtual machines on drive D:) \n\nIt is very important to close the terminal. Otherwise the settings are not loaded ! \n\nMore information at [Vagrant Docs](https://developer.hashicorp.com/vagrant/docs/other/environmental-variables)\n\n## [Step 5] Initialization (Windows/MACos)\n\n```shell\ndel %userprofile%\\Vagrantfile-latest.rb\nvagrant init\nexit\n```\n\n## [Step 6] VMware Desktop Plugin installation (Windows/MACos)\n\n```shell\nvagrant plugin install vagrant-vmware-desktop\nexit\n```\nTerminal must be closed to load the environment variables\n\n\n## [Step 7] Replace Vagrantfile\n\nDownload [My Custom](https://github.com/jatutert/Vagrant/blob/main/Vagrantfile/VirtualBox-WorkstatPRO/Latest/Vagrantfile-latest.rb) Vagrantfile.\n\nPut this file in the folder Downloads (Windows). \n\n### Windows \n\nRemove the default vagrantfile\n\n```shell\ndel %HOMEDRIVE%\\vagrantfil*.*\nexit\n```\n\nReplace the default vagrantfile with the one i created\n\n```shell\ncopy %HOMEDRIVE%\\Downloads\\Vagrantfile-latest.rb %HOMEDRIVE%\nexit\n```\n\n### MACos\n\n```shell\ndel ~/vagrant.d/vagrantfil*.*\nexit\n```\n\n**! DON'T FORGET !**\n\nStore the custom vagrantfile (Vagrantfile-latest.rb) in ~/vagrant.d/\n\n## [Step 8] Check Vagrant\n\n```shell\nvagrant global-status\nexit\n```\nThe message should be: \n\n*There are no active Vagrant environments on this computer!*\n\n*Or, you haven't destroyed and recreated Vagrant environments that were started with an older version of Vagrant.*\n\n## [Step 9] Adding Linux boxes (Windows/MACos)\n\nStart terminal \n\n```shell\nvagrant box add gusztavvargadr/ubuntu-server-2404-lts --clean --provider vmware_desktop\nvagrant box add gusztavvargadr/ubuntu-desktop-2404-lts --clean --provider vmware_desktop\nexit\n```\n\nThe Linux boxes use about 4 gigabyte of diskspace per box. \n\n## [Step 10] Adding Windows boxes (Windows/MACos)\n\nStart terminal \n\n```shell\nvagrant box add xenov/windows-10 --clean --architecture amd64 --provider vmware_desktop --box-version 2202.1740574724\nvagrant box add gusztavvargadr/windows-11 --clean --architecture amd64 --provider vmware_desktop\nvagrant box add gusztavvargadr/windows-server-2022-standard --clean --architecture amd64 --provider vmware_desktop --box-version 2102.0.2503\nexit\n```\n\nEach box takes about 5 to 10 minutes to download and install ! Time for a drink .. or snack .. or both ! \n\nThe Windows boxes use about 15 gigabyte of diskspace per box. \n\n## Start the fun !\n\nThat was it then. You're all set with the installation and configuration of the environment. \n\nLet's start the fun ! \n\n### Ubuntu Server 24.04 LTS\n\n#### Generic with 16 GB of RAM (XL = 16 GB, L = 8 GB, M = 4 GB, S = 2 GB)\n\n```shell\nvagrant up U24-LTS-S-BCV-XL-001\n```\n\n#### Docker \n\n```shell\nvagrant up U24-LTS-S-DCKR-001\nvagrant ssh U24-LTS-S-DCKR-001\nsudo ~/ubuntu-config-V3-latest.sh docker\nexit\nvagrant ssh U24-LTS-S-DCKR-001\ndocker stop portainer\ndocker start portainer\nip addr show eth0\n```\n\nThe ubuntu-config-V3-latest.sh script does the installation of the latest version of Docker within the box. \n\nStart your webbrowser and go to https://xxx.xxx.xxx.xxx:9443 (use the ip address from ETH0:)\n\nFor the password use something simple like Password1234\n\nUse pwsh to start Microsoft Powershell 7.5.x within the box. \n\nWant to use Cockpit ? The go to https://xxx.xxx.xxx.xxx:1234 (use the ip address from ETH0:)\n\n### Windows 10 Enterprise\n\n#### Generic with 8 GB of RAM (XL = 16 GB, L = 8 GB, M = 4 GB, S = 2 GB)\n\n```shell\nvagrant up W10-ENT-D-B-XV-L001\n```\n\nGo to VMWare Workstation and login with the user vagrant and password vagrant\n\nRight click on the START button and select Windows Powershell(Admin) \n\n```shell\ncmd\nwinget update\nY\nwinget install Microsoft.PowerShell\nwinget install Microsoft.DotNet.DesktopRuntime.8\nwinget install Microsoft.WindowsTerminal\nwinget install Microsoft.VisualStudio.Code\nwinget install GNU.Nano\nexit\nexit\n```\n\n### Windows Server 2022 Standard\n\n#### Generic with 8 GB of RAM (XL = 16 GB, L = 8 GB, M = 4 GB, S = 2 GB)\n\n```shell\nvagrant up W22-STD-S-B-GR-L001\n```\n\nPowershell 7 can also be installed within the Windows Server 2022 Standard virtual machine. \n\nFollow the instructions as described above under Windows 10.\n\n## SSH into the virtual macine \n\nFor Example: \n\n```shell\nvagrant ssh W10-ENT-D-B-XV-L001\nvagrant ssh W22-STD-S-B-GR-L001\n```\n\n## Shutting down\n\nFor Example: \n\n```shell\nvagrant halt W10-ENT-D-B-XV-L001\nvagrant halt W22-STD-S-B-GR-L001\n```\n\n## Remove Virtual machine \n\nFor Example: \n\n```shell\nvagrant halt W10-ENT-D-B-XV-L001\nvagrant destroy W10-ENT-D-B-XV-L001 --force\n```\n\n## More Info\n\nMore information on Vagrant configuration files can be found on [Vagrant docs](https://developer.hashicorp.com/vagrant/docs)\n\n## License / Copyright / Trademarks \n\u003e - Vagrant by Hashicorp Inc. (hashicorp.com) \n\u003e - Virtualbox by Oracle Corporation (oracle.com) \n\u003e - VMware by VMware Company (vmware.com) / Broadcom (broadcom.com) \n\u003e - Windows by Microsoft Corporation (microsoft.com)\n\nEverything I describe is intended for personal or educational use. In my case, that is primarily educational use. \n\nAll references to and quotations from external sources are licensed and/or copyright the respective owners. \nI make no claim to ownership of these sources. \nReferences to and quotations from these sources have been used on the basis of assumption of reasonableness and fair use. \nTo my knowledge, no copyright or other rights have been infringed. \nIf it is believed that references to and/or quotations from certain external sources violate any rules, rights or interests, please contact.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjatutert%2Fvagrant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjatutert%2Fvagrant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjatutert%2Fvagrant/lists"}