mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-04-19 08:05:13 +00:00
omada_hotfix
This commit is contained in:
parent
5def868c67
commit
6ed926c8ab
@ -55,13 +55,15 @@ $STD apt-get install -y mongodb-org
|
||||
msg_ok "Installed MongoDB $MONGODB_VERSION"
|
||||
|
||||
msg_info "Installing Omada Controller"
|
||||
latest_url=$(curl -fsSL "https://support.omadanetworks.com/en/download/software/omada-controller/" | grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' | head -n 1)
|
||||
latest_version=$(basename "$latest_url")
|
||||
|
||||
curl -fsSL "${latest_url}" -O
|
||||
$STD dpkg -i ${latest_version}
|
||||
OMADA_URL=$(curl -fsSL "https://support.omadanetworks.com/en/download/software/omada-controller/" \
|
||||
| grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' \
|
||||
| head -n1)
|
||||
OMADA_PKG=$(basename "$OMADA_URL")
|
||||
curl -fsSL "$OMADA_URL" -o "$OMADA_PKG"
|
||||
$STD dpkg -i "$OMADA_PKG"
|
||||
msg_ok "Installed Omada Controller"
|
||||
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user