first version

parents
.vagrant/
# this is ruby language
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.provider "virtualbox" do |vb|
vb.name = 'p04_1'
vb.gui = true
vb.customize ["modifyvm", :id, "--memory", 1024]
vb.customize ["modifyvm", :id, "--cpus", 1]
#https://serverfault.com/questions/453185/vagrant-virtualbox-dns-10-0-2-3-not-working?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
#https://betacloud.io/get-rid-of-ubuntu-xenial-16-04-cloudimg-console-log/
vb.customize [ "modifyvm", :id, "--uartmode1", "disconnected" ]
end
config.vm.network :forwarded_port, guest: 80, host: 80
config.vm.network :forwarded_port, guest: 443, host: 443
config.vm.network :forwarded_port, guest: 3306, host: 3306
config.vm.network :forwarded_port, guest: 5000, host: 5000
config.vm.provision "docker"
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment