mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat: static UIDs
This commit is contained in:
parent
6671103eba
commit
602eda1012
13 changed files with 102 additions and 34 deletions
|
|
@ -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
3
systems/reisen/subgid
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
root:100000:65536
|
||||
root:65534:1
|
||||
root:8000:256
|
||||
3
systems/reisen/subuid
Normal file
3
systems/reisen/subuid
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
root:100000:65536
|
||||
root:65534:1
|
||||
root:8000:128
|
||||
Loading…
Add table
Add a link
Reference in a new issue