mirror of https://github.com/tteck/Proxmox.git
Compare commits
4 Commits
1698598a7e
...
693367e278
Author | SHA1 | Date |
---|---|---|
|
693367e278 | |
|
0c543874c0 | |
|
fcafbf2077 | |
|
e71f2bf40d |
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -7,6 +7,18 @@
|
||||||
|
|
||||||
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
||||||
|
|
||||||
|
## 2024-01-16
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- **Website Improvements**
|
||||||
|
- Refine and correct pointers.
|
||||||
|
- Change hover colors to intuitively indicate categories/items.
|
||||||
|
- Implement opening links in new tabs for better navigation.
|
||||||
|
- Enhance the Copy button to better indicate that the command has been successfully copied.
|
||||||
|
- Introduce a Clear Search button.
|
||||||
|
- While not directly related to the website, it's worth mentioning that the logo in newly created LXC notes now serves as a link to the website, conveniently opening in a new tab.
|
||||||
|
|
||||||
## 2024-01-12
|
## 2024-01-12
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
21
ct/omada.sh
21
ct/omada.sh
|
@ -56,26 +56,17 @@ function update_script() {
|
||||||
header_info
|
header_info
|
||||||
if [[ ! -d /opt/tplink ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -d /opt/tplink ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
latest_url=$(curl -fsSL "https://www.tp-link.com/us/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1)
|
latest_url=$(curl -fsSL "https://www.tp-link.com/us/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1)
|
||||||
latest_version=$(basename "${latest_url}" | sed -e 's/.*ller_//;s/_Li.*//')
|
latest_version=$(basename "${latest_url}")
|
||||||
if [ -z "${latest_version}" ]; then
|
if [ -z "${latest_version}" ]; then
|
||||||
msg_error "It seems that the server (tp-link.com) might be down. Please try again at a later time."
|
msg_error "It seems that the server (tp-link.com) might be down. Please try again at a later time."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
installed_version=$(dpkg -l | grep omada | awk '{print $3}')
|
echo -e "Updating Omada Controller"
|
||||||
|
wget -qL ${latest_url}
|
||||||
if [ "v${installed_version}" = "${latest_version}" ]; then
|
dpkg -i ${latest_version}
|
||||||
msg_info "Installed version (v${installed_version}) is the same as the latest version (${latest_version})"
|
rm -rf ${latest_version}
|
||||||
sleep 2
|
echo -e "Updated Omada Controller"
|
||||||
msg_ok "Omada Controller is already up to date"
|
|
||||||
exit
|
|
||||||
else
|
|
||||||
echo -e "Updating Omada Controller to ${latest_version}"
|
|
||||||
wget -qL ${latest_url}
|
|
||||||
dpkg -i Omada_SDN_Controller_${latest_version}_Linux_x64.deb
|
|
||||||
rm -rf Omada_SDN_Controller_${latest_version}_Linux_x64.deb
|
|
||||||
echo -e "Updated Omada Controller to ${latest_version}"
|
|
||||||
exit
|
exit
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
start
|
start
|
||||||
|
|
|
@ -37,18 +37,18 @@ $STD dpkg -i mongodb-org-server_3.6.23_amd64.deb
|
||||||
msg_ok "Installed MongoDB"
|
msg_ok "Installed MongoDB"
|
||||||
|
|
||||||
latest_url=$(curl -fsSL "https://www.tp-link.com/us/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1)
|
latest_url=$(curl -fsSL "https://www.tp-link.com/us/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1)
|
||||||
latest_version=$(basename "$latest_url" | sed -e 's/.*ller_//;s/_Li.*//')
|
latest_version=$(basename "$latest_url")
|
||||||
|
|
||||||
msg_info "Installing Omada Controller ${latest_version}"
|
msg_info "Installing Omada Controller"
|
||||||
wget -qL ${latest_url}
|
wget -qL ${latest_url}
|
||||||
$STD dpkg -i Omada_SDN_Controller_${latest_version}_Linux_x64.deb
|
$STD dpkg -i ${latest_version}
|
||||||
msg_ok "Installed Omada Controller ${latest_version}"
|
msg_ok "Installed Omada Controller"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
customize
|
customize
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -rf Omada_SDN_Controller_${latest_version}_Linux_x64.deb mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
|
rm -rf ${latest_version} mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
|
||||||
$STD apt-get autoremove
|
$STD apt-get autoremove
|
||||||
$STD apt-get autoclean
|
$STD apt-get autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|
|
@ -449,7 +449,7 @@ qm set $VMID \
|
||||||
-efidisk0 ${DISK0_REF}${FORMAT} \
|
-efidisk0 ${DISK0_REF}${FORMAT} \
|
||||||
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=32G \
|
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=32G \
|
||||||
-boot order=scsi0 \
|
-boot order=scsi0 \
|
||||||
-description "<div align='center'><a href='https://Helper-Scripts.com'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
|
-description "<div align='center'><a href='https://Helper-Scripts.com' target='_blank' rel='noopener noreferrer'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
|
||||||
|
|
||||||
# Home Assistant OS
|
# Home Assistant OS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue