From b8252e08b5b90e501e12a33c83427f2d6976b82c Mon Sep 17 00:00:00 2001
From: Mate Lakat <mate.lakat@citrix.com>
Date: Thu, 6 Feb 2014 12:24:56 +0000
Subject: [PATCH] Align parameters with the ones used in the gate

---
 update-node-image.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update-node-image.sh b/update-node-image.sh
index 2a6e244..8ed350c 100755
--- a/update-node-image.sh
+++ b/update-node-image.sh
@@ -77,7 +77,7 @@ cd /opt/nodepool-scripts
 cd /root
 config/install_puppet.sh
 config/install_modules.sh
-puppet apply --modulepath=/root/config/modules:/etc/puppet/modules -e "class { openstack_project::single_use_slave: install_users => false,ssh_key => \\"${SSH_PUBLIC_KEY}\\" }"
+puppet apply --modulepath=/root/config/modules:/etc/puppet/modules -e "class { openstack_project::single_use_slave: sudo => true,bare => true, install_users => false,ssh_key => \\"${SSH_PUBLIC_KEY}\\" }"
 echo HostKey /etc/ssh/ssh_host_ecdsa_key >> /etc/ssh/sshd_config
 sudo -u jenkins -i /opt/nodepool-scripts/prepare_devstack.sh
 rm -f $STAMP_FILE