diff --git a/Vagrantfile b/Vagrantfile index 3ccbac5..e7ec89d 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -6,5 +6,5 @@ Vagrant.configure(2) do |config| config.vm.box = "precise64" config.ssh.private_key_path = "~/.ssh/insecure_private_key" - + config.vm.provision :shell, path: "./rajv0001-Lab03.sh" end diff --git a/rajv0001-Lab03.sh b/rajv0001-Lab03.sh new file mode 100755 index 0000000..c555ad4 --- /dev/null +++ b/rajv0001-Lab03.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# Starter shell script +# Put commands below +# To run, type ./starter.sh (you need the "./") +# It must have permissions starting with a "7" + +mkdir -p main/{A/{B,C,D},E/{F,G},H/{I,J/{K,L},M}} +touch main/{A/{aa,B/bb,C/cc,D/dd},E/{ee,F/ff,G/gg},H/{hh,I/ii,J/{jj,K/kk,L/ll},M/mm}} +sudo apt-get install -y tree +sudo apt-get install -y git +sudo apt-get install -y vim diff --git a/rajv0001-testfile.md b/rajv0001-testfile.md new file mode 100644 index 0000000..53b9829 --- /dev/null +++ b/rajv0001-testfile.md @@ -0,0 +1,2 @@ +Hello mars +Hello again