diff --git a/Vagrantfile b/Vagrantfile index 27726a7..f336b1c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -4,6 +4,7 @@ Vagrant.configure(2) do |config| config.vm.box = "precise64" + config.vm.provision :shell, path: "./dalv0001-lab02.sh" config.vm.box_url = "/var/vagrant/boxes/precise64.box" end diff --git a/dalv0001-lab02.sh b/dalv0001-lab02.sh new file mode 100755 index 0000000..8d02360 --- /dev/null +++ b/dalv0001-lab02.sh @@ -0,0 +1,10 @@ +# dalv0001-lab02.sh +# Starter shell script +# Rename as YourID-Lab02.sh +# Put commands below +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}} +apt-get -y install tree +apt-get -y install git +# To run, type ./YourID-Lab02.sh (you need the "./") +# It must have permissions starting with a "7" diff --git a/dalv0001-testfile.adhoc b/dalv0001-testfile.adhoc new file mode 100644 index 0000000..7885147 --- /dev/null +++ b/dalv0001-testfile.adhoc @@ -0,0 +1,2 @@ +Hello Mars!! This is Meera +Hello Again