diff --git a/Vagrantfile b/Vagrantfile index f5a3c8c..213f7de 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -5,5 +5,6 @@ Vagrant.configure(2) do |config| config.vm.box = "ubuntu/xenial64" config.vm.box_url = "/var/vagrant/boxes/xenial64.box" + config.vm.provision :shell, path: "./leff7766-Lab02.sh" end diff --git a/leff7766-Lab02.sh b/leff7766-Lab02.sh new file mode 100755 index 0000000..e70234e --- /dev/null +++ b/leff7766-Lab02.sh @@ -0,0 +1,15 @@ +#!/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" + +#creating those directories .... +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}} + + +#updates +apt-get -y install tree +apt-get -y install git diff --git a/leff7766-testfile.adoc b/leff7766-testfile.adoc new file mode 100644 index 0000000..d71dba4 --- /dev/null +++ b/leff7766-testfile.adoc @@ -0,0 +1,2 @@ +Hello Mars +Hello Again