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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user