Finally the dns option is coded into the lib python of cobbler (action_buildiso.py). After a new test the dns servers appears into isolinux.cfg. My first test had to have another pb !!! My buildiso is now ok.
Stéphane
-----Message d'origine----- De : Tailpied Stephane Envoyé : mercredi 16 novembre 2011 14:51 À : cobbler@lists.fedorahosted.org Objet : RE: Re: buildiso with DNS
Thank you Christian,
Hi Stephane,
On Wed, Nov 16, 2011 at 11:46:15AM +0100, Tailpied Stephane wrote:
I use buildiso to deploy with no pxe, and I want to specify a dns server in isolinux.cfg in generated.iso. Is it possible ?
I had "Name Server" in my profile. I had an IP/Gateway/Netmask in my system. I used "cobbler buildiso -system=my_system" to generate the iso. My isolinux.cfg looks like : "kernel 3.krn append initrd=3.img ks=<url> ksdevice=bootif lang= kssendmac text ip=<ip> netmask=<netmask> gateway=<gateway>"
What to do to specify a DNS server ?
This question is more PXE/distro specific than cobbler.
Yes, but it's cobbler which builds this iso and the isolinux.cfg. I thought that cobbler could build with a specific DNS like IP, netmask and gateway. Effectively, after a buildiso, I can open the iso, add a dns into the isolinux.cfg (or replace all names by IP) and rebuild the iso, but it's a supplementary task :-(
In case you are relating to RHEL or Centos these links will help you: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installati... http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installati...
cheers, Christian
Stéphane
L'integrite de ce message n'etant pas assuree sur internet, Natixis ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. Ensemble, faisons un geste pour l'environnement : n'imprimons nos mails que si necessaire.
The integrity of this message cannot be guaranteed on the Internet. Natixis can not therefore be considered responsible for the contents. Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender. Let us mind the environment : let's print our mails only when necessary
cobbler@lists.fedorahosted.org