Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,14 @@ Vagrant.configure(2) do |config|

config.vm.box = "ubuntu/xenial64"
config.vm.box_url = "/var/vagrant/boxes/xenial64.box"
config.vm.provision :shell, path: "./vue07418-Lab02.sh"

# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: <<-SHELL
apt-get update
SHELL


end
11 changes: 11 additions & 0 deletions vue07418-Lab02.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/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 /vagrant/main/{A/{B,C,D},E/{F,G},H/{I,J/{K,L},M}}
touch /vagrant/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
3 changes: 3 additions & 0 deletions vue07418-testfile.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Hello Mars! My name is Vicky Vue!

Hello Again!