Mark 'manager' as primary machine
Mark 'manager' as primary machine to be able to use commands like 'vagrant ssh' without specifiying the machine name. This will solve the issue 'This command requires a specific VM name to target in a multi-VM environment.'. Change-Id: I15143d54d69dc05146aa141594924e30d18ba54e
This commit is contained in:
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@@ -97,7 +97,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
config.hostmanager.include_offline = true
|
||||
end
|
||||
|
||||
config.vm.define "manager" do |manager|
|
||||
config.vm.define "manager", primary: true do |manager|
|
||||
configure_vm("manager", manager.vm, conf)
|
||||
manager.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
|
||||
manager.vm.network "forwarded_port", guest: 6080, host: 6080, host_ip: "127.0.0.1"
|
||||
|
||||
Reference in New Issue
Block a user