upgrade InfluxDB to v2

This commit is contained in:
hungnt612 2022-09-26 10:50:15 +07:00
parent cdf9a6ba35
commit 9f3c682c05
156 changed files with 841 additions and 462 deletions

View file

@ -266,7 +266,7 @@ export PCT_OPTIONS="
-unprivileged ${IM}
${PW}
"
bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/create_lxc.sh)" || exit
bash -c "$(wget -qLO - https://raw.githubusercontent.com/hungnt612/Proxmox/main/ct/create_lxc.sh)" || exit
STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
if [ "$STORAGE_TYPE" == "zfspool" ]; then
@ -305,7 +305,7 @@ echo -e "${CM}${CL} \r"
alias lxc-cmd="lxc-attach -n $CTID --"
lxc-cmd bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/docker-install.sh)" || exit
lxc-cmd bash -c "$(wget -qLO - https://raw.githubusercontent.com/hungnt612/Proxmox/main/setup/docker-install.sh)" || exit
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')