From 2807cd9235f5b43c2d5ac91a99b8f5b7405b5d7f Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 7 Mar 2014 07:17:45 -0800 Subject: [PATCH] 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 --- functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index 2083e441..68d6c930 100644 --- a/functions.sh +++ b/functions.sh @@ -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