{"id":14064466,"url":"https://github.com/mattgwagner/New-Machine","last_synced_at":"2025-07-29T18:32:36.487Z","repository":{"id":12881783,"uuid":"15558305","full_name":"mattgwagner/New-Machine","owner":"mattgwagner","description":"Utilizing Vagrant, Packer, Chocolatey, and Boxstarter to Configure my Dev Machines","archived":false,"fork":false,"pushed_at":"2024-02-27T21:54:10.000Z","size":3722,"stargazers_count":31,"open_issues_count":1,"forks_count":12,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-08-14T07:07:13.840Z","etag":null,"topics":["boxstarter","hyperv","packer","vagrant","virtualbox","visualstudio"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/mattgwagner.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}},"created_at":"2013-12-31T23:39:51.000Z","updated_at":"2024-05-03T11:24:15.000Z","dependencies_parsed_at":"2024-05-27T23:18:03.387Z","dependency_job_id":"fab18852-05dc-43fb-9f8c-7d5368875177","html_url":"https://github.com/mattgwagner/New-Machine","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattgwagner%2FNew-Machine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattgwagner%2FNew-Machine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattgwagner%2FNew-Machine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattgwagner%2FNew-Machine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattgwagner","download_url":"https://codeload.github.com/mattgwagner/New-Machine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228040664,"owners_count":17860211,"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","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":["boxstarter","hyperv","packer","vagrant","virtualbox","visualstudio"],"created_at":"2024-08-13T07:03:52.932Z","updated_at":"2024-12-04T03:30:53.207Z","avatar_url":"https://github.com/mattgwagner.png","language":"PowerShell","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"readme":"New-Machine\n===========\n\nThis repo contains several small PowerShell scripts that utilize Chocolatey and BoxStarter to setup new machines to my preferences. I've found golden images to go out of date extremely quickly, to the point of making it pointless. These scripts help grab the latest versions of many of my daily use applications, so that I can hit the ground running on new machines.\n\n# Important Note!\n\nThis is mostly crafted based on my own use cases and work that I do. I built but no longer use the Windows 10 images, so they may not work as expected anymore. My current preferred working image is Windows Server 2022.\n\n# Creating a Bootable USB\n\nUse Rufus -- I had a PowerShell script but it failed a few times. Use the tools!\n\n# Building an Image\n\nThe `Windows-2022.json` Packer file references a copy of the Windows Server 2022 ISO. I grabbed it off of MSDN and put it into the same folder -- ideally, it would download this from a public source before building.\n\nYou can build the image via:\n\npacker build windows-2022.json\n\n# Vagrant Info\n\nMost of my builds now target Hyper-V as my hypervisor of choice, but should generally still work with VirtualBox or another target. Check out Packer Post-Processors for modifying for other targets [https://www.packer.io/docs/post-processors]\n\nDepending on OS, follow instructions at vagrantup.com for installing + VirtualBox.\n\nWindows via Chocolatey: \n\nchoco install virtualbox\n\nchoco install vagrant\n\nvagrant box add {url} --name {name}\n\nvagrant init {name}\n\nThe folder that you run initialize from, or that contains the vagrantfile that you use, will be imported into the Virtual Machine and available at c:\\vagrant. Do note that I've noticed issues running IIS or Visual Studio from code in this folder.\n\nYou can modify the Vagrantfile generated during `vagrant init` to modify VM settings, such as the amount of RAM allocated (defaults to 8gigs) or more CPUs:\n\n```\n  config.vm.provider :virtualbox do |v, override|\n      v.gui = false\n      v.memory = 8192\n      v.cpus = 2\n  end\n```\n\nvagrant up\n\nvagrant powershell (from Windows)\n\nvagrant RDP -- Doesn't seem to work on OS-X reliably, use Remote Desktop client and point it to localhost with the allocated port.\n\nYou can also open your Remote Desktop client of choice and point it to localhost:4000 (we remapped the RDP port to avoid conflicts with Windows hosts).\n\n# See Also\n\nhttps://chocolatey.org\n\nhttps://www.packer.io\n\nhttps://www.virtualbox.org\n\nhttps://boxstarter.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattgwagner%2FNew-Machine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattgwagner%2FNew-Machine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattgwagner%2FNew-Machine/lists"}