mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
parent
f3c45d0398
commit
552cff8a2c
4 changed files with 42 additions and 8 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue