The home directory for the 'stack' user defaults to /opt/stack, which is
not obvious to devstack newbies, and can also be overridden by exporting
a value for DEST. Therefore it's friendlier to be explicit about the
location of this home directory, to which devstack is copied before
being run as the 'stack' user.
Change-Id: Ia1941a5f2f8cf86a06681e85da52b817a855b8ff
| ... | ... |
@@ -200,8 +200,8 @@ if [[ $EUID -eq 0 ]]; then |
| 200 | 200 |
( umask 226 && echo "$STACK_USER ALL=(ALL) NOPASSWD:ALL" \ |
| 201 | 201 |
> /etc/sudoers.d/50_stack_sh ) |
| 202 | 202 |
|
| 203 |
- echo "Copying files to $STACK_USER user" |
|
| 204 | 203 |
STACK_DIR="$DEST/${TOP_DIR##*/}"
|
| 204 |
+ echo "Copying files to $STACK_DIR" |
|
| 205 | 205 |
cp -r -f -T "$TOP_DIR" "$STACK_DIR" |
| 206 | 206 |
safe_chown -R $STACK_USER "$STACK_DIR" |
| 207 | 207 |
cd "$STACK_DIR" |