mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-08 20:11:02 +02:00
Use apt_update_safe instead of aborting on a failed apt update (#17462)
This commit is contained in:
committed by
GitHub
parent
ba1409a920
commit
b855a5782a
@@ -19,7 +19,7 @@ msg_info "Setup Graylog Data Node"
|
||||
PASSWORD_SECRET=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c16)
|
||||
curl -fsSL "https://packages.graylog2.org/repo/packages/graylog-7.0-repository_latest.deb" -o "graylog-7.0-repository_latest.deb"
|
||||
$STD dpkg -i graylog-7.0-repository_latest.deb
|
||||
$STD apt-get update
|
||||
apt_update_safe
|
||||
$STD apt-get install graylog-datanode -y
|
||||
sed -i "s/password_secret =/password_secret = $PASSWORD_SECRET/g" /etc/graylog/datanode/datanode.conf
|
||||
systemctl enable -q --now graylog-datanode
|
||||
|
||||
Reference in New Issue
Block a user