Hi, Sebastian Hilbert wrote (10 Feb 2010 16:34:58 GMT) : > Is there any way/mechanism one can issue a set of commands when building the > image has finished ?
I guess you mean when the chroot has been initialized, but not compressed and converted to binary format. Feel free to correct me as needed. > I am thinking of something along the lines. > /etc/init.d/postgresql start > gm-bootstrap_server > /etc/init.d/postgresql stop > This could be used to change some files, create symlinks etc. The goal is to > have the database filled already at build time so the user will have a better > experience. This is possible: have a look to chroot_local-hooks in the documentation. Bye, -- intrigeri <[email protected]> | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr-fingerprint.asc | The impossible just takes a bit longer. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]
