Clean the source directory before building, otherwise, build might fail if it has been configured already.
Only do it if there is a Makefile present, as suggested by Ben Pfaff. Signed-off-by: Thadeu Lima de Souza Cascardo <casca...@redhat.com> Cc: Ben Pfaff <b...@ovn.org> --- Vagrantfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Vagrantfile b/Vagrantfile index 8f7adee..fb17ec5 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -33,6 +33,7 @@ SCRIPT $configure_ovs = <<SCRIPT cd /vagrant ./boot.sh +[ -f Makefile ] && ./configure && make distclean mkdir -p ~/build cd ~/build /vagrant/configure --with-linux=/lib/modules/`uname -r`/build --enable-silent-rules -- 2.7.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev