mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
upgrade InfluxDB to v2
This commit is contained in:
parent
cdf9a6ba35
commit
9f3c682c05
156 changed files with 841 additions and 462 deletions
|
@ -255,7 +255,7 @@ export PCT_OPTIONS="
|
|||
-unprivileged $CT_TYPE
|
||||
$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
|
||||
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
||||
cat <<EOF >> $LXC_CONFIG
|
||||
lxc.cgroup2.devices.allow: a
|
||||
|
@ -264,10 +264,10 @@ EOF
|
|||
msg_info "Starting LXC Container"
|
||||
pct start $CTID
|
||||
msg_ok "Started LXC Container"
|
||||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
|
||||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/hungnt612/Proxmox/main/setup/$var_install.sh)" || exit
|
||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
|
||||
pct set $CTID -description "# ${APP} LXC
|
||||
### https://tteck.github.io/Proxmox/"
|
||||
### https://hungnt612.github.io/Proxmox/"
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${APP} should be reachable by going to the following URL.
|
||||
${BL}http://${IP}:8123${CL}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue