Unattend install of Fog
-
I’ve been on a kick to ansible all of my server roles/configs to make my entire environment pretty quick and easy to deploy. FOG is one that is being a bit of a stickler, however.
is there a way to pass variable or a configuration to the fog installfog.sh script, allowing me to automate it out to a key? Or should I look into building a wrapper around it and using expect to push info from a variable file?
-
I guess I don’t fully understand.
If you’re running the RC’s, the install argument
-y
will do the trick for you. -
@Tom-Elliott said in Unattend install of Fog:
I guess I don’t fully understand.
If you’re running the RC’s, the install argument
-y
will do the trick for you.Ah, perfect. That’s exactly what I was looking for, a way for it not to ask me things afterwards and just accept all the defaults.
Now I can put this into an ansible playbook, and be able to spin up a copy of the infrastructure super quick. Thanks!
-
@Tom-Elliott said in Unattend install of Fog:
If you’re running the RC’s, the install argument
-y
will do the trick for you.Tom will this also do the db schema update if there is one?
-
@x23piracy Yes.
-
@x23piracy As of right now, the only thing that
-y
won’t do (that I think it should do) is remove answer “yes” to broken/old packages from Ubuntu in order for FOG to install. @Tom-Elliott, if the user is already specifying “YES”, I don’t see why an extra question should be asked. This also breaks automated update scripts that people have developed for Ubuntu. -
@Wayne-Workman That is already the case.
-
@Tom-Elliott Oh, I somehow missed that. Nevermind then.
-y
does it all.