vagrant: make sure to bootstrap before configure_ovs.
authorMotonori Shindo <motonori@shin.do>
Fri, 9 Jan 2015 09:31:51 +0000 (18:31 +0900)
committerThomas Graf <tgraf@noironetworks.com>
Fri, 9 Jan 2015 11:08:59 +0000 (12:08 +0100)
commitecf68fa449355e28c1d87d3e1d68f40e1603e980
tree06f4e9434f6ceeb5dbcb5dee3edf6534aa5c24d8
parentb56b2566417dd436e768394c12b030019d2dc101
vagrant: make sure to bootstrap before configure_ovs.

The order of execution in Vagrantfile is "outside-in" meaning that
all commands in outer scope are executed first and then the commands
in inner scope. Because of this ordering, "configure_ovs" is executed
before "bootstrap_fedora", resulting in "configure_ovs" to fail as
it is not bootsrapped yet. This change fixes this problem by removing
the nested scope in Vagrant.configure block. Multi-machine is not used
so we don't need config.vm.define block.

Signed-off-by: Motonori Shindo <motonori@shin.do>
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Vagrantfile