Factory/ironic-ipa-downloader-image/configure-nonroot.sh

13 lines
244 B
Bash
Raw Normal View History

#!/usr/bin/bash
NONROOT_UID=10475
NONROOT_GID=10475
USER="ironic-suse"
groupadd -r -g ${NONROOT_GID} ${USER}
useradd -r -g ${NONROOT_GID} \
-u ${NONROOT_UID} \
-d /home \
-s /sbin/nologin \
${USER}