24600defd0
This makes it easy to create a local user without cloud init, for vm instances. Change-Id: Ifaae67418a725eb5a39cf9e46f0804b09986f63c
13 lines
154 B
Bash
Executable File
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
|
|
|