Vagrant.configure("2") do |config|
config.vm.provision "shell", inline: $script
config.vm.box = "ubuntu/xenial64"
config.vm.network "forwarded_port", guest: 8080, host: 8081
config.vm.provider "virtualbox" do |v|
v.name = "xenial-openjdk8-tomcat8"
end
end
创建自己的Vagrant box(2)
内容版权声明:除非注明,否则皆为本站原创文章。