On 19-Aug-2013, at 7:42 PM, Netsons > Roberto Iervolino <r.iervol...@netsons.com<mailto:r.iervol...@netsons.com>> wrote:
Thanks Shanker!! It works fine, W00t!!! but with this hook I cannot change the hostname, if I try ti change it (vi /etc/hostname) at the next boot this script force the dhcp hostname. On CentOS I can do this (vi /etc/sysconfig/network). There is a way to solve this issue? Wasn't the original requirement about Debian 7 not getting hostname from DHCP? :) If you want to revert to the original behaviour, simply rm the DHCP hook. Alternatively, you can look at the "host-name" options in dhclient.conf(5). Hth. -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com<mailto:shanker.ba...@shapeblue.com> | www.shapeblue.com<http://www.shapeblue.com> | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.