Dick Davies wrote: > I can define static IP configured systems like this: > > cobbler system add --name=vera --hostname=vera.domainname > --profile='centos-53-i386-puppet' \ > --static=true --gateway=1.2.1.254 --subnet=255.255.128.0 > --ip=1,2.5.27 --mac=00:0C:F1:f1:f1:f1 \ > --name-servers='1.2.0.20 1.2.0.10' --name-servers-search='domainname' > > but that's a lot of typing :) anyway to inherit these (say from the profile)? > > I know, this is what DHCP is for :) but I need the values hardcoded > into the machines > after they're built. > > Tried setting 'default_name_servers' in cobbler/settings > and it seemed to be a null-op; certainly had no effect on existing > systems, even if I re-created their > definitions. > > Am I missing something? Thanks! > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler >
You just asked this on IRC, so now I have to answer twice :) Presently no. With the completion of network objects it will be possible to just say that an interface lives on a network, in which case, yes. Default name servers works via the network snippets and is applied at install time, it is not something you should see in Cobbler Web, for instance. --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
