dan003400 Posted July 26 Report Share Posted July 26 We are looking to automate the setup process to easily deploy PBX servers but we are not able to get the servers to self initialize and install PBX because the new install-debian.sh script is stopping to ask: # Please select the geographic area in which you live. Subsequent configuration => => # questions will narrow this down by presenting a list of cities, representing => => # the time zones in which they are located. => => # 1. Africa 3. Antarctica 5. Arctic 7. Atlantic 9. Indian 11. US => => # 2. America 4. Australia 6. Asia 8. Europe 10. Pacific 12. Etc => => # Geographic area: Is there parameters or files that we can include to automatically preselect these options? Also, here is our Dockerfile (we are not using docker specifically, but our hosting provider uses Dockerfiles to init servers) FROM ubuntu RUN apt-get update RUN apt-get install wget -y RUN wget http://portal.vodia.com/downloads/pbx/install-debian.sh RUN chmod a+rx install-debian.sh RUN ./install-debian.sh CMD ["ps", "-C", "pbxctrl"] Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted July 26 Report Share Posted July 26 Hmm which command is prompting for the region? The script installs some additional software, but you can as well just skip that part of the installation. E.g. the PBX now downloads missing audio files automatically. Quote Link to comment Share on other sites More sharing options...
dan003400 Posted July 26 Author Report Share Posted July 26 This prompt is happening when running the install-debian.sh script. I am not sure how we can skip this when we are trying to deploy this automatically without human intervention, can you supply a Dockerfile config that would work? Thanks Quote Link to comment Share on other sites More sharing options...
dan003400 Posted July 26 Author Report Share Posted July 26 It looks like this was from ubuntu installation, we were able to bypass this by adding this to our Dockerfile: ARG DEBIAN_FRONTEND=noninteractive Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted July 26 Report Share Posted July 26 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.