Skip to content

Instantly share code, notes, and snippets.

@dillera
Created January 4, 2019 02:45
Show Gist options
  • Save dillera/b973b708cf651277919fb63fa1f8a732 to your computer and use it in GitHub Desktop.
Save dillera/b973b708cf651277919fb63fa1f8a732 to your computer and use it in GitHub Desktop.
Installing with Windows 10
For this installation I'll use Powershell and Chocolately to manage my Windows Packages.
Phase 1: Prerequisites
Step 1a - Install Chocolately
https://chocolatey.org/docs/installation#install-with-powershellexe
Command to paste in PS: [Note you must start PS as Admin with a right-click]
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
With that done close the PS.
Step 2a - Install Apps needed for Booterizer
Reopen PS as admin - WHY?
Chocolatey detected you are not running from an elevated command shell
(cmd/powershell).
You may experience errors - many functions/packages
require admin rights. Only advanced users should run choco w/out an
elevated shell. When you open the command shell, you should ensure
that you do so with "Run as Administrator" selected. If you are
attempting to use Chocolatey in a non-administrator setting, you
must select a different location other than the default install
location. See
https://chocolatey.org/install#non-administrative-install for details.
PS> choco install git
PS> choco install vagrant
PS> choco install virtualbox
Close the PS.
Step 3a - Modify Vagrantfile
- Open PS as admin.
- Create a working dir to hold the files we'll be using
- I created a directory C:\booterizer
- CD into the working directory you created
PS> git clone https://github.com/unxmaal/booterizer.git
PS> cd booterizer
EDIT - fire up your favorite text edit and open the Vagrantfile in this directory.
EDIT - change the settings at the top to fit your local network and SGI - the MAC
address is the most critical.
Phase 2 - The Vagrant Process
Now with the settings saved fire up vagrant and install what's needed for that:
First, we need to install a plugin:
PS> vagrant plugin install vagrant-guest_ansible
Then we can start the main show:
PS> vagrant up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment