Help with Fully automated Install nedded - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: Help with Fully automated Install nedded (/thread-15359.html) |
Help with Fully automated Install nedded - moddie666 - 10-18-2011 12:05 AM Hello, I am doing a fully automated install of the OS and then immediately run my ispCP "pre-installer". (it does everything up to "perl ./ispcp-setup") Now I would like to run perl ./ispcp-setup with no user interaction. So far my script was sucessful in setting up everything for the installer and after running perl ./ispcp-setup manually everything worked. I already know how to get all the answers required into "$VARIABLES". What i would like to know is if there is a way to pass answers to ./ispcp-setup, so the questions will no longer be posed. My programming knowledge is very limited so I could not find out how to do what i want myself. Could it be altered it in such a way that no more user interaction is necessary? something like: function_to_set_hostname_to(fqhn) here fqhn is a placeholder that will be replaced with the real FullyQualifiedHostname, by my script before ispcp-setup is run. The same shall be done to all other questions. i aim to do something similar to all the questions The purpose of this is to be able to set up servers with ispCP with NO user interaction during setup. I apologize if this has already been covered elsewhere, if so I could not find it. Any and all help will be greatly appreciated. greetings /moddie P.S. script so far: -any files DLed with wget come from a machine on my local net -any file ending in slx contains the debconf selections for programs that would otherwise ask questions at install time -mysql_mod_install is a "castrated" version of mysql_secure_install, it basically does what is described in the install manual "http://isp-control.net/documentation/de/start/installation/debian" Code: #!/bin/bash RE: Help with Fully automated Install nedded - gOOvER - 10-18-2011 05:22 PM This site is dead. Please check: http://ispcp.shadowjumper.de |