Dockerize FOG
-
Hello!
I’m trying to see if I can dockerize FOG. I need to separate the mysql setup part as I’m going to run the database server from another container. This means that I want that fog installer knows to what server to connect and what password to use. I believe that after a successful install a .fogsettings file is generated which I could use to setup some parameters I guess but I have no idea if there’s a way of programatically supply the mysql server address, user and password during install.
It doesn’t make sense to run mysql together with the fog container plus it would require to somehow install and enable systemd inside the container itself (as it tries to start and enable mysql services).
TL;DR
How can I define, at install time, the mysql server address, username and password?
Thank you
Cheers
Tony