从文件运行 shell 脚本(不使用内联)
# provision/bootstrap-controller.sh : path and shell filename from vagrantfile location
config.vm.define "configcontroller" do |controller|
...
controller.vm.provision :shell do |shell|
shell.path = "provision/bootstrap-controller.sh"
end
...