diff --git a/Vagrantfile b/Vagrantfile index 27726a7..36a72b8 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -4,6 +4,7 @@ Vagrant.configure(2) do |config| config.vm.box = "precise64" + config.vm.provision :shell, path: "./kaur5310-Lab02.sh" config.vm.box_url = "/var/vagrant/boxes/precise64.box" end diff --git a/kaur5310-Lab02.sh b/kaur5310-Lab02.sh new file mode 100755 index 0000000..94506f5 --- /dev/null +++ b/kaur5310-Lab02.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# Starter shell script +# Rename as YourID-Lab02.sh +# Put commands below +# To run, type ./YourID-Lab02.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}} +apt-get -y install tree +apt-get -y install git diff --git a/kaur5310-testfile.adoc b/kaur5310-testfile.adoc new file mode 100644 index 0000000..88466e5 --- /dev/null +++ b/kaur5310-testfile.adoc @@ -0,0 +1,4 @@ + +Hello World +hello world +mars again