When trying to work out what set the hostname line in /etc/hosts, I
noticed that the vzctl(8) manpage does not seem to mention the scripts
configured via files in /etc/vz/dists/, such as:
ADD_IP DEL_IP SET_HOSTNAME SET_DNS SET_USERPASS SET_UGID_QUOTA POST_CREATE
Some of them sound intuitive, but it would be good to know for sure:
- when exactly they get called
- how they get called (i.e. what arguments are passed, what environment
is set, etc)
Otherwise it's somewhat difficult to modify them.
Any chance they could be documented? Or maybe they already are, but I
cannot find that?
Marcin Owsiany <email@example.com> http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
"Every program in development at MIT expands until it can read mail."