Refer to operator VM as primary VM

This allows us to execute vagrant commands by default on the 'operator'
VM and eliminate one of the difference between AIO and multinode.

TrivialFix

Change-Id: Ia14aa026d1146ec4b1e006c72a2460edfc0cf6eb
This commit is contained in:
Martin André 2016-06-17 14:38:51 +02:00
parent 877aa79398
commit acfe3b73aa

View File

@ -200,7 +200,7 @@ Vagrant.configure(2) do |config|
end
# The operator controls the deployment
config.vm.define "operator" do |admin|
config.vm.define "operator", primary: true do |admin|
admin.vm.hostname = "operator.local"
admin.vm.provision :shell, path: PROVISION_SCRIPT, args: "operator #{MULTINODE ? 'multinode' : 'aio'} #{get_default(:kolla_path)}"
admin.vm.synced_folder File.join(vagrant_dir, '..', '..'), get_default(:kolla_path), create:"True", type: get_default(:sync_method)