diff --git a/Vagrantfile b/Vagrantfile index f5a3c8c..2a7115b 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -6,4 +6,5 @@ Vagrant.configure(2) do |config| config.vm.box = "ubuntu/xenial64" config.vm.box_url = "/var/vagrant/boxes/xenial64.box" +config.vm.provision :shell, path: "./MyStudentID-Lab02.sh" end diff --git a/li007152-Lab02.sh b/li007152-Lab02.sh new file mode 100755 index 0000000..6d6f275 --- /dev/null +++ b/li007152-Lab02.sh @@ -0,0 +1,13 @@ +#!/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" + +sudo apt-get update +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 install -y tree +apt-get install -y git diff --git a/li007152-testfile.adoc b/li007152-testfile.adoc new file mode 100644 index 0000000..bb27808 --- /dev/null +++ b/li007152-testfile.adoc @@ -0,0 +1,2 @@ +"Hello Mars." +"Hello Again"