Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/787862645e7432a126139e61142e05f9c6dec7d6?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
12 additions and
0 deletions
@ -232,10 +232,22 @@ export PCT_OPTIONS="
"
"
bash -c " $( wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/create_lxc.sh) " || exit
bash -c " $( wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/create_lxc.sh) " || exit
LXC_CONFIG = /etc/pve/lxc/${ CTID } .conf
LXC_CONFIG = /etc/pve/lxc/${ CTID } .conf
if [ " $CT_TYPE " = = "0" ] ; then
cat <<EOF >> $LXC_CONFIG
cat <<EOF >> $LXC_CONFIG
lxc.cgroup2.devices.allow: a
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
lxc.cap.drop:
lxc.cgroup2.devices.allow: c 188:* rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/serial/by-id dev/serial/by-id none bind,optional,create= dir
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create= file
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create= file
lxc.mount.entry: /dev/ttyACM1 dev/ttyACM1 none bind,optional,create= file
EOF
EOF
else
cat <<EOF >> $LXC_CONFIG
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
fi
msg_info "Starting LXC Container"
msg_info "Starting LXC Container"
pct start $CTID
pct start $CTID
msg_ok "Started LXC Container"
msg_ok "Started LXC Container"