Change storage driver to fuse-overlayfs

This commit is contained in:
Rense Klinkenberg 2022-11-19 01:17:20 +01:00
parent 1c380355b0
commit ddaf25916f
2 changed files with 5 additions and 3 deletions

View file

@ -234,9 +234,9 @@ function start_script() {
clear
start_script
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
FEATURES="fuse=1,nesting=1,keyctl=1"
else
FEATURES="nesting=1"
FEATURES="fuse=1,nesting=1"
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
@ -263,7 +263,7 @@ EOF
msg_info "Starting LXC Container"
pct start $CTID
msg_ok "Started LXC Container"
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/rrense/Proxmox/storage-driver_to_fuse-overlayfs/setup/$var_install.sh)" || exit
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
pct set $CTID -description "# ${APP} LXC
### https://tteck.github.io/Proxmox/