Remove git clone from automated_install.sh
This commit is contained in:
@@ -35,11 +35,6 @@ wget https://releases.hashicorp.com/packer/1.1.3/packer_1.1.3_linux_amd64.zip
|
||||
unzip packer_1.1.3_linux_amd64.zip
|
||||
cp packer /usr/local/bin/packer
|
||||
|
||||
# Clone DetectionLab
|
||||
cd /opt
|
||||
git clone https://github.com/clong/DetectionLab.git
|
||||
cd /opt/DetectionLab/Packer
|
||||
|
||||
# Make the packer images headless
|
||||
for file in $(ls *.json); do
|
||||
sed -i 's/"headless": false,/"headless": true,/g' "$file";
|
||||
|
||||
@@ -28,10 +28,6 @@ wget https://releases.hashicorp.com/vagrant/2.0.1/vagrant_2.0.1_x86_64.deb
|
||||
dpkg -i vagrant_2.0.1_x86_64.deb
|
||||
vagrant plugin install vagrant-reload
|
||||
|
||||
# Clone DetectionLab
|
||||
cd /opt
|
||||
git clone https://github.com/clong/DetectionLab.git
|
||||
|
||||
# Make the Vagrant instances headless
|
||||
cd /opt/DetectionLab/Vagrant
|
||||
sed -i 's/vb.gui = true/vb.gui = false/g' Vagrantfile
|
||||
|
||||
Reference in New Issue
Block a user