diskimage-builder/elements/stackuser/install.d/50-user
Robert Collins 24600defd0 Split stack user creation out of devstack element.
This makes it easy to create a local user without cloud init, for vm
instances.

Change-Id: Ifaae67418a725eb5a39cf9e46f0804b09986f63c
2013-01-31 16:50:41 +13:00

13 lines
154 B
Bash
Executable File

#!/bin/bash
# Add the stack user we recommend folk use.
set -e
set -o xtrace
useradd -G admin -m stack -s /bin/bash
passwd stack <<EOF
stack
stack
EOF