[cobbler] Re: cobbler not managing DHCP static IP after PXE

2016-11-03 Thread André Gemünd
Hi Robert, 

as Orion wrote the interface should be configured with a static IP in that case 
(as long as you configured one in the system entry). Maybe you have 
unintentionally removed the $SNIPPET('post_install_network_config') from your 
kickstart? This is responsible for the configuration in your %post section. 

Greetings 
Andre 

- Am 31. Okt 2016 um 16:15 schrieb Jacobson, Robert C. 
(GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] : 

> Platform:

> RHEL6

> cobbler-2.6.5-9.1.noarch

> I would like cobbler to continue to manage my DHCP settings after kickstart. 
> In
> this case I'd like a static IP for the system.

> The static IP works if "Netboot" is enabled, but if netboot is disabled (e.g.
> after kickstart is complete), then the entry is removed from dhcpd.conf -- so
> my machine get's a dynamic DHCP address instead of the static one assigned.

> Is this something fixed in a later release, or am I doing something wrong? 
> Below
> is the system report.

> # cobbler system report --name=ssmo-od-gmat

> Name : ssmo-od-gmat

> TFTP Boot Files : {}

> Comment :

> Enable gPXE? : False

> Fetchable Files : {}

> Gateway : 172.20.55.33

> Hostname : ssmo-od-gmat

> Image :

> IPv6 Autoconfiguration : False

> IPv6 Default Device :

> Kernel Options : {}

> Kernel Options (Post Install) : {}

> Kickstart : /var/lib/cobbler/kickstarts/SDO_default.ks

> Kickstart Metadata : {}

> LDAP Enabled : False

> LDAP Management Type : authconfig

> Management Classes : []

> Management Parameters : <>

> Monit Enabled : False

> Name Servers : ['172.20.56.21', '172.20.56.22']

> Name Servers Search Path : ['example.com']

> Netboot Enabled : False

> Owners : ['admin']

> Power Management Address :

> Power Management ID :

> Power Management Password :

> Power Management Type : ipmitool

> Power Management Username :

> Profile : ssmo-od

> Proxy : <>

> Red Hat Management Key : <>

> Red Hat Management Server : <>

> Repos Enabled : False

> Server Override : <>

> Status : production

> Template Files : {}

> Virt Auto Boot : 0

> Virt CPUs : <>

> Virt Disk Driver Type : <>

> Virt File Size(GB) : <>

> Virt Path : <>

> Virt PXE Boot : 0

> Virt RAM (MB) : <>

> Virt Type : xenpv

> Interface = : eth0

> Bonding Opts :

> Bridge Opts :

> CNAMES : []

> DHCP Tag :

> DNS Name : ssmo-od-gmat

> Per-Interface Gateway :

> Master Interface :

> Interface Type :

> IP Address : 172.20.55.39

> IPv6 Address :

> IPv6 Default Gateway :

> IPv6 MTU :

> IPv6 Prefix :

> IPv6 Secondaries : []

> IPv6 Static Routes : []

> MAC Address : 00:50:56:9f:b9:00

> Management Interface : True

> MTU :

> Subnet Mask : 255.255.255.240

> Static : True

> Static Routes : []

> Virt Bridge : xenbr0

> --

> Robert Jacobson

> KBRwyle | Systems Administrator, Solar Dynamics Observatory

> 8800 Greenbelt Rd. | Greenbelt, MD 20771 | USA

> Office: +1 301.286.1591 | Mobile: +1 443.896.8865 | Fax: +1 301.286.2840 |
> robert.c.jacob...@nasa.gov

> This e-mail, including any attached files, may contain confidential and
> privileged information for the sole use of the intended recipient. Any review,
> use, distribution, or disclosure by others is strictly prohibited. If you are
> not the intended recipient (or authorized to receive information for the
> intended recipient), please contact the sender by reply e-mail and delete all
> copies of this message.

> ___
> cobbler mailing list -- cobbler@lists.fedorahosted.org
> To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Re: cobbler not managing DHCP static IP after PXE

2016-11-02 Thread Orion Poplawski
On 10/31/2016 09:15 AM, Jacobson, Robert C. (GSFC-444.0)[HONEYWELL 
TECHNOLOGY SOLUTIONS INC] wrote:



Platform:

RHEL6

cobbler-2.6.5-9.1.noarch





I would like cobbler to continue to manage my DHCP settings after
kickstart.  In this case I'd like a static IP for the system.



The static IP works if "Netboot" is enabled, but if netboot is disabled
(e.g. after kickstart is complete), then the entry is removed from
dhcpd.conf -- so my machine get's a dynamic DHCP address instead of the
static one assigned.


If it's a static interface, the system shouldn't be doing DHCP at all 
after install and instead use the static config.


Why are you still using 2.6.5?  That's fairly old.


--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA DivisionFAX: 303-415-9702
3380 Mitchell Lane  or...@cora.nwra.com
Boulder, CO 80301  http://www.cora.nwra.com
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org