Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 632 Bytes

vm-setup.md

File metadata and controls

44 lines (30 loc) · 632 Bytes

vm-setup

Run the script on a vm before trying out.

  • pre-req: installed vagrant

  • create a directory at your choice and copy the vagrant file. Example:

mkdir -p ~/vms/recet-setup-test
  • copy the vagrantfile to this dir
mkdir -p ~/vms/recet-setup-test
cp  test/vagrant/Vagrantfile ~/vms/recet-setup-test/Vagrantfile
  • go to dir:
cd ~/vms/recet-setup-test
  • Provision the vm
vagrant up --provision
  • Log into the vm
vagrant ssh
  • Start script
cd ubuntu-setup  && \
find scripts/ -type f -iname "*.sh" -exec chmod +x {} \; && \
./scripts/setup.sh