Hi

I vaguely remember this issue. See this:


https://lists.fedorahosted.org/pipermail/cobbler/2014-May/009388.html

Also this:

d-i preseed/late_command string rm -f /usr/lib/finish-install.d/55netcfg-copy-config \
    /usr/lib/finish-install.d/50config-target-network; \
wget -O- http://$http_server/cblr/svc/op/script/$what/$name/?script=preseed_late_default | \
    chroot /target /bin/sh -s

So cobbler sets interfaces correctly, but then they get overwritten again.

This might be relevant if using static IPs when initially booting:

https://github.com/cobbler/cobbler/issues/1320#issuecomment-62875655

Alastair Munro

On 14/12/2016 16:11, m.ponje...@sky.com wrote:
Hi guys

I am trying to understand how to use post install network snippet for
ubuntu 14.04, but can't get it
I kickstart ubuntu box initially using DHCP, but network configuration
stays as initial DHCP config even after install.
I expected that post install network config is going to change it to
static network config as I configured it bellow.
Can someone please shed light how to configure it?
Regards
Ponja

COB]# cobbler system report --name=ubuntu02
Name                           : ubuntu02
TFTP Boot Files                : {}
Comment                        :
Enable gPXE?                   : False
Fetchable Files                : {}
Gateway                        : 192.168.1.1
Hostname                       : ubuntu02
Image                          :
IPv6 Autoconfiguration         : False
IPv6 Default Device            :
Kernel Options                 : {'netcfg/no_default_route': 'true',
'netcfg/choose_interface': 'eth0'}
Kernel Options (Post Install)  : {'priority': 'critical locale=en_US'}
Kickstart                      :
/var/lib/cobbler/kickstarts/ubuntu-14.04_standard.seed
Kickstart Metadata             : {}
LDAP Enabled                   : False
LDAP Management Type           : authconfig
Management Classes             : []
Management Parameters          : <<inherit>>
Monit Enabled                  : False
Name Servers                   : ['8.8.8.8']
Name Servers Search Path       : []
Netboot Enabled                : True
Owners                         : ['admin']
Power Management Address       :
Power Management ID            :
Power Management Password      :
Power Management Type          : ipmitool
Power Management Username      :
Profile                        : ubuntu-14.04.2-server-x86_64
Internal proxy                 : <<inherit>>
Red Hat Management Key         : <<inherit>>
Red Hat Management Server      : <<inherit>>
Repos Enabled                  : False
Server Override                : <<inherit>>
Status                         : production
Template Files                 : {}
Virt Auto Boot                 : 0
Virt CPUs                      : <<inherit>>
Virt Disk Driver Type          : <<inherit>>
Virt File Size(GB)             : <<inherit>>
Virt Path                      : <<inherit>>
Virt PXE Boot                  : 0
Virt RAM (MB)                  : <<inherit>>
Virt Type                      : xenpv
Interface =====                : eth0
Bonding Opts                   :
Bridge Opts                    :
CNAMES                         : []
InfiniBand Connected Mode      : False
DHCP Tag                       :
DNS Name                       :
Per-Interface Gateway          : 192.168.1.1
Master Interface               :
Interface Type                 :
IP Address                     : 192.168.1.30
IPv6 Address                   :
IPv6 Default Gateway           :
IPv6 MTU                       :
IPv6 Prefix                    :
IPv6 Secondaries               : []
IPv6 Static Routes             : []
MAC Address                    : 00:50:56:35:E7:FE
Management Interface           : False
MTU                            :
Subnet Mask                    : 255.255.255.0
Static                         : True
Static Routes                  : []
Virt Bridge                    : xenbr0
_______________________________________________
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

Reply via email to