diff --git a/Vagrantfile b/Vagrantfile index 3ccbac5..81f0725 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: "./kars0011-Lab03.sh" end diff --git a/kars0011-Lab03.sh b/kars0011-Lab03.sh new file mode 100755 index 0000000..fe834a8 --- /dev/null +++ b/kars0011-Lab03.sh @@ -0,0 +1,13 @@ + +#!/bin/bash +# Starter shell script +# Rename as YourID-Lab03.sh +# Put commands below +# To run, type ./YourID-Lab03.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/kars0011-testfile.md b/kars0011-testfile.md new file mode 100644 index 0000000..886a9b0 --- /dev/null +++ b/kars0011-testfile.md @@ -0,0 +1,11 @@ +hello world +hello again +hello mars + + + + + + + +