Use the default home directory location for tempest.

The current location is a git checkout.  When we update that repo
and 'git clean' it, it removes any user configuration we may have
set for the tempest user (such as pip mirror locations).

Change-Id: Ie4040c8f44592e85ad0d093490aee71b298eec10
This commit is contained in:
James E. Blair
2014-03-07 07:17:45 -08:00
parent 2baefbf1a7
commit 2807cd9235

View File

@@ -341,7 +341,7 @@ function setup_host {
# revoke sudo permissions from that user when appropriate.
# NOTE(sdague): we should try to get the state dump to be a
# neutron API call in Icehouse to remove this.
sudo useradd -U -s /bin/bash -d $BASE/new/tempest -m tempest
sudo useradd -U -s /bin/bash -m tempest
TEMPFILE=`mktemp`
echo "tempest ALL=(root) NOPASSWD:/sbin/ip" >$TEMPFILE
echo "tempest ALL=(root) NOPASSWD:/sbin/iptables" >>$TEMPFILE