Thank you, I'll do that!!




Supernova s.r.l.
Via G. Misiticoni, 3
65126 - Pescara
ITALY


www.netsons.com
Roberto Iervolino
IT System Administrator - L2 Support


t. (+39) 085 45 100 52
m. (+39) 393 85 677 48
e. r.iervol...@netsons.com


View Roberto Iervolino's profile on LinkedIn


Netsons® è un marchio registrato dalla Supernova s.r.l.

Le informazioni trasmesse sono riservate alla persona o alla società indicata come destinatario, e possono includere contenuti considerati confidenziali. Ogni elaborazione, comunicazione, trasmissione o altro utilizzo, anche azioni conseguenti alla conoscenza di queste informazioni da parte di chiunque non sia espressamente indicato come destinatario è proibita. Nel caso abbiate ricevuto per errore questa comunicazione, siete pregati di darne avviso a info [at] netsons.com ed eliminare ogni stampa ed ogni traccia informatica. Il ricevente dovrà inoltre accertarsi che gli eventuali allegati non contengano virus prima di aprirli. Qualunque opinione o affermazione presentata in questo messaggio è da ritenersi propria dell'autore e non rappresenta necessariamente la posizione della Società.

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact: info [at] netsons.com and delete the material from any computer. If this email contains attachments you should ensure they are checked for viruses before opening them. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
Il 19/08/2013 18:40, Shanker Balan ha scritto:
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.


Reply via email to