ZoneMinder / zmeventnotification

Machine Learning powered Secure Websocket & MQTT based ZoneMinder event notification server
408 stars 128 forks source link

Scripted installation fails - no-interactive does not apply to install commands #430

Closed ulbi closed 10 months ago

ulbi commented 10 months ago

I'm using a completely scripted installation to bring up a docker container, but it fails when using install.sh. But install.sh already supports "no-interactive" - which is great and would fullfill all the needs. While running it, it does not take into account, that apt-get or yum (the two supported installer) might ask stuff.

I changed it, so in case "no-interactive" is set, I add "-yq" for apt-get or "-y" for yum to the INSTALLER variable and this does the trick in my setup.