fuse-overlayfs option (#876)

CasaOS
Umbrel
This commit is contained in:
tteckster 2022-12-28 06:41:43 -05:00 committed by GitHub
parent f3c45d0398
commit 552cff8a2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 42 additions and 8 deletions

View file

@ -96,6 +96,13 @@ cat >$DOCKER_CONFIG_PATH <<'EOF'
EOF
msg_info "Installing CasaOS (Patience)"
if [ "$ST" == "yes" ]; then
VER=$(curl -s https://api.github.com/repos/containers/fuse-overlayfs/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
cd /usr/local/bin
curl -sSL -o fuse-overlayfs https://github.com/containers/fuse-overlayfs/releases/download/$VER/fuse-overlayfs-x86_64
chmod 755 /usr/local/bin/fuse-overlayfs
cd ~
fi
wget -qO- https://get.casaos.io | bash &>/dev/null
msg_ok "Installed CasaOS"

View file

@ -95,6 +95,13 @@ cat >$DOCKER_CONFIG_PATH <<'EOF'
EOF
msg_info "Installing Umbrel (Patience)"
if [ "$ST" == "yes" ]; then
VER=$(curl -s https://api.github.com/repos/containers/fuse-overlayfs/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
cd /usr/local/bin
curl -sSL -o fuse-overlayfs https://github.com/containers/fuse-overlayfs/releases/download/$VER/fuse-overlayfs-x86_64
chmod 755 /usr/local/bin/fuse-overlayfs
cd ~
fi
curl -sL https://umbrel.sh | bash &>/dev/null
systemctl daemon-reload
systemctl enable --now umbrel-startup.service &>/dev/null