This commit is contained in:
Madzone
2026-09-08 10:33:38 +02:00
parent c56f4c4b7d
commit f85c7c9e52
18 changed files with 5693 additions and 0 deletions
@@ -0,0 +1,34 @@
#!/bin/bash
export lxcid=$(pvesh get /cluster/nextid)
# echo $lxcid
pct create 8$lxcid /mnt/pve/nfs/template/cache/debian-12-standard_12.12-1_amd64.tar.zst \
\
`# Ressourcen` \
--cores 2 \
--memory 2048 \
--swap 512 \
\
`# Storage` \
--storage local-lvm \
--rootfs local-lvm:10 \
\
`# Netzwerk` \
--net0 name=eth0,bridge=vmbr0,ip=dhcp,mtu=1500,firewall=0 \
\
`# DNS` \
--nameserver 10.1.99.254 \
--searchdomain training.inett.de \
\
`# Zugang` \
--password Inett1nett \
--ssh-public-keys /root/.ssh/authorized_keys \
\
`# Privilegien & features` \
--unprivileged 0 \
--features nesting=1 \
\
`# Timezone` \
--timezone Europe/Berlin \
\
`# Tags` \
--tags debian,LXC