Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 714 Bytes

File metadata and controls

40 lines (27 loc) · 714 Bytes

Name It!

Simply use the current one here, or DIY:

  1. Minimalized Vagrantfile.

Refer to step-1, prepare a default Vagrantfile, then:

sed -e '/^ *#/d' -e '/^$/d' ../course-1/Vagrantfile

Expected content:

Vagrant.configure("2") do |config|
  config.vm.box = "envimation/ubuntu-xenial-docker"
end
  1. Put above content into a local Vagrantfile.
pwd # ensure you are in directory *course-2*
sed -e '/^ *#/d' -e '/^$/d' ../step-1/Vagrantfile > Vagrantfile
  1. Add the following line before 'end'.
  config.vm.define "course2demo"
  1. Check it out.
vagrant status # status report: not created

Zhan.Shi @ 2017