mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-28 11:03:57 +02:00
Update ubuntu.sh
This commit is contained in:
parent
30b4378eb3
commit
91c40b3818
@ -145,6 +145,11 @@ STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F "
|
|||||||
if [ "$STORAGE_TYPE" == "zfspool" ]; then
|
if [ "$STORAGE_TYPE" == "zfspool" ]; then
|
||||||
warn "Some addons may not work due to ZFS not supporting 'fallocate'."
|
warn "Some addons may not work due to ZFS not supporting 'fallocate'."
|
||||||
fi
|
fi
|
||||||
|
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
||||||
|
cat <<EOF >> $LXC_CONFIG
|
||||||
|
lxc.cgroup2.devices.allow: a
|
||||||
|
lxc.cap.drop:
|
||||||
|
EOF
|
||||||
|
|
||||||
echo -en "${GN} Starting LXC Container... "
|
echo -en "${GN} Starting LXC Container... "
|
||||||
pct start $CTID
|
pct start $CTID
|
||||||
|
Loading…
Reference in New Issue
Block a user