First
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user