From aba8add54124ce831cc92edcf503892b2e3cb6e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Andr=C3=A9?= <m.andre@redhat.com>
Date: Fri, 17 Jun 2016 16:47:40 +0200
Subject: [PATCH] Connect to remote hosts as root

Since this is the user for which we setup the SSH key.

This commit allows to run kolla-ansible as vagrant user without using
sudo.

This only applies to multinode.

TrivialFix

Change-Id: Ie5231085a66511a520d4dbe5e9f35414acf1900b
---
 dev/vagrant/bootstrap.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev/vagrant/bootstrap.sh b/dev/vagrant/bootstrap.sh
index 8df6969926..1d6116bac1 100644
--- a/dev/vagrant/bootstrap.sh
+++ b/dev/vagrant/bootstrap.sh
@@ -189,6 +189,7 @@ function configure_operator {
     cat > ~vagrant/.ansible.cfg <<EOF
 [defaults]
 forks=100
+remote_user = root
 
 [ssh_connection]
 scp_if_ssh=True