Created
February 19, 2020 18:21
-
-
Save Peleke/759f990ca4ab64414550b681a9f66f0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$machineName = 'cybersecurity/linux-scavenger' | |
$provider = 'hyperv' | |
$destinationDir = '~/Documents/LinuxScavenger' | |
$vagrantfileUri = 'https://gist.githubusercontent.com/Peleke/f1a4ad0d5f921fdb64ba7efec08a744a/raw/8cc70b515148c179fb2d5fdc6861fa3ac0dec83b/LinuxScavengerHuntVagrantfile' | |
$vagrantfileName = 'Vagrantfile' | |
# Create Vagrantfile & Lift Machine | |
vagrant box add $machineName --provider=$provider | |
mkdir $destinationDir | |
cd $destinationDir | |
Invoke-WebRequest -uri $vagrantfileUri -UseBasicParsing -OutFile $vagrantfileName | |
vagrant up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment