Hi Clint thanks for reply. let me explan in detail. I think we need use *snippets sovle the problem.*
I use cobbler deploy OS. I hope all the pc have static IP. I try to cobbler system add --name=node58 --profile=CentOS6.2-x86_64 --mac=00:25:90:2D:7A:42 --interface=eth0 --ip=172.16.10.58 --hostname=node58 --gateway=172.16.10.1 --dns-name=114.114.114.114 the node would static IP , This is exactly what I wanted. for Redhat, cobbler provide Kickstart Snippets<https://github.com/cobbler/cobbler/wiki/Kickstart%20Snippets> for seting static IP address. https://github.com/cobbler/cobbler/tree/master/snippets but for ubuntu, modify IP have different from Redhat. How to let ubuntu also can set static IP use Snippets. On Wed, May 9, 2012 at 10:25 PM, Clint Byrum <[email protected]> wrote: > Excerpts from Shake Chen's message of Wed May 09 05:47:11 -0700 2012: > > Hi > > > > I have set up orchestra in ubuntu 12.04. use cobbler deploy OS > > > > the Centos and ubuntu working well . > > > > Now I need set the static IP address for the node. > > > > In centos , I have success, > > > > but for Ubuntu, it no working. > > > > I read > http://terrarum.net/administration/deploying-ubuntu-with-cobbler.html > > > > can not working. > > > > Hi Shake! > > If you want to set the IP address in the pre-seed, edit the kickstart > template and add a section with static IP config: > > # Static network configuration. > d-i netcfg/get_nameservers string 192.168.1.1 > d-i netcfg/get_ipaddress string 192.168.1.42 > d-i netcfg/get_netmask string 255.255.255.0 > d-i netcfg/get_gateway string 192.168.1.1 > d-i netcfg/confirm_static boolean true > > You can replace any of these with variables, check > > sudo cobbler system dumpvars --name=your-system-record > > To get the values for the system you want to boot. > > -- > ubuntu-server mailing list > [email protected] > https://lists.ubuntu.com/mailman/listinfo/ubuntu-server > More info: https://wiki.ubuntu.com/ServerTeam > -- Shake Chen
-- ubuntu-server mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
