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:
Christian Berendt 2014-08-07 10:43:26 +02:00
parent 4a29af6db4
commit 162b0b52e9
1 changed files with 1 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -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"