feat: static UIDs

This commit is contained in:
arcnmx 2024-02-09 06:22:32 -08:00
parent 6671103eba
commit 602eda1012
13 changed files with 102 additions and 34 deletions

View file

@ -16,6 +16,13 @@ EOF
cat $TMP_KEYFILE > /etc/pve/priv/authorized_keys
rm $TMP_KEYFILE
base64 -d > /etc/subuid <<EOF
$INPUT_SUBUID
EOF
base64 -d > /etc/subgid <<EOF
$INPUT_SUBGID
EOF
if [[ ! -d /home/tf ]]; then
echo setting up pve terraform user... >&2
groupadd -g 1001 tf

3
systems/reisen/subgid Normal file
View file

@ -0,0 +1,3 @@
root:100000:65536
root:65534:1
root:8000:256

3
systems/reisen/subuid Normal file
View file

@ -0,0 +1,3 @@
root:100000:65536
root:65534:1
root:8000:128