| commit | bc8fa5a81e8f76b74cd4dc053ca1a263957e64c6 | [log] [download] |
|---|---|---|
| author | Ola Lundqvist <ola@inguza.com> | Tue Nov 18 18:23:24 2008 +0300 |
| committer | Kir Kolyshkin <kir@openvz.org> | Tue Nov 18 18:23:24 2008 +0300 |
| tree | 383acf22e6c80a41d7155d88e82ea83682024a9d | |
| parent | 9fe02f4a9a42d8d608c401d2508da01f2a07a13e [diff] |
The vzctl startup script /etc/vz/dists/scripts/debian-set_hostname.sh
does not setup /etc/mailname properly. It's left with localhost set.
The following patch should solve this. It also removes a small cosmetic
bug: The function set_hostname did not use the ${cfgfile} variable.
http://bugzilla.openvz.org/1035
http://bugs.debian.org/500862