Probably it has been asked before... 

how can i preseed (or edit the iso installer or any other solution) the passwords for a lamp tkl?

I use ISO and also the LXC (proxmox) versions.  All other installations and customisations are done via SALTSTACK, i need to have a headless install and if possible to preseed the /etc/hosts to add an entry like:

192.168.X.Y  salt

 

Thank you kindly guys,

Mike

Replies (5)

Inithooks provides the option to preseed

Reply 1
The inithooks docs are here.

In an LXC appliance it's pretty easy. You can unarchive the template and add the relevant info to /etc/inithooks.conf and then repack the archive. Keep in mind though that preseeding the root Linux user password in Proxmox probably won't work (it is normally handled by the host).

ISOs are a little trickier; although the theory remains the same (extract the ISO; add the /etc/inithooks.conf; recreate the ISO). You can use tklpatch for this.

Alternatively if you have further customisations that you'd like to make you could rebuild the whole OS using TKLDev. That's sort of covered in this thread.

Ok, you're on! :)

Reply 2
Ok, you're on! :)

Not sure when I'll next get to Germany though...

:)

Reply 3

Or...you can look me up next time you are in Frankfurt/Germany for a German beer :P

No worries! :)

Reply 4
Look me up next time you're in Australia and we'll have beer! :)

AWESOME

Reply 5

Thanks man! Owe you a beer @Jeremy Davis