diff --git a/Vagrantfile b/Vagrantfile index 3ccbac5..b6454ab 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -5,6 +5,6 @@ Vagrant.configure(2) do |config| config.vm.box = "precise64" - config.ssh.private_key_path = "~/.ssh/insecure_private_key" - + config.ssh.private_key_path = "../insecure_private_key" + config.vm.provision :shell, path: "./gelb1167-Lab3.sh" end diff --git a/gelb1167-Lab3.sh b/gelb1167-Lab3.sh new file mode 100755 index 0000000..02c388f --- /dev/null +++ b/gelb1167-Lab3.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 vim +sudo apt-get install -y tree +sudo apt-get install -y git diff --git a/gelb1167-testfile.md b/gelb1167-testfile.md new file mode 100644 index 0000000..1f7252e --- /dev/null +++ b/gelb1167-testfile.md @@ -0,0 +1,3 @@ +Hello World! +Hellow Mars +new line