mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-11 07:09:17 +02:00
openziti-controller: prevent apt hang on postinst TTY prompt
This commit is contained in:
@@ -30,7 +30,7 @@ function update_script() {
|
||||
fi
|
||||
msg_info "Updating $APP LXC"
|
||||
$STD apt update
|
||||
$STD apt -y upgrade
|
||||
$STD apt -y upgrade </dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
msg_ok "Updated successfully!"
|
||||
exit
|
||||
|
||||
@@ -24,7 +24,7 @@ Components: main
|
||||
Signed-By: /usr/share/keyrings/openziti.gpg
|
||||
EOF
|
||||
$STD apt update
|
||||
$STD apt install -y openziti-controller openziti-console
|
||||
$STD apt install -y openziti-controller openziti-console </dev/null
|
||||
msg_ok "Installed openziti"
|
||||
|
||||
read -r -p "${TAB3}Would you like to go through the auto configuration now? <y/N>" prompt
|
||||
|
||||
Reference in New Issue
Block a user