[Bug 879605] Re: Specifying static network configuration in kickseed no longer works

Bruce Tarro 879605 at bugs.launchpad.net
Thu Nov 14 21:51:08 UTC 2013


Change was tested and verified for the following:

precise-proposed
kickseed_0.57ubuntu1.1.tar.gz

NOTE: I did not yet find an updated installer in
http://archive.ubuntu.com/ubuntu/dists/precise-proposed/main/installer-
amd64/current/images/netboot/ubuntu-installer/amd64/

I instead made the change outlined in the diff to my existing initrd.gz

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to kickseed in Ubuntu.
https://bugs.launchpad.net/bugs/879605

Title:
  Specifying static network configuration in kickseed no longer works

Status in “kickseed” package in Ubuntu:
  Fix Released
Status in “kickseed” source package in Precise:
  Fix Committed
Status in “kickseed” source package in Quantal:
  Fix Committed
Status in “kickseed” source package in Raring:
  Fix Committed
Status in “kickseed” source package in Saucy:
  Fix Committed

Bug description:
  [Impact] The supported "network --bootproto=static" Kickstart option is broken during installation, so it's hard for users to tell how to preseed a static network configuration using Kickstart.
  [Test Case] Put a file somewhere web-server-accessible on your local network with "network --bootproto=static --hostname=statictest.pelham.vpn.ucam.org --ip=10.0.2.16 --netmask=255.255.255.0 --gateway=10.0.2.2 --nameserver=10.0.2.3" (this is suitable for my local network with KVM; adjust to match your local environment).  Boot the installer with ks=http://url/to/that/file.  Once installation finishes, you should have a static network configuration, not a dynamic one using DHCP.  Note that this test needs to be carried out using an installer image rebuilt against the new kickseed; we'll make one available in -proposed at some point shortly after this kickseed change is accepted into -proposed.
  [Regression Potential] Confined to Kickstart, since kickseed is used for nothing else.  I considered backporting the compatibility fix to netcfg instead, but that would have had a larger regression potential.

  Original report follows:

  In previous Ubuntu versions you used to be able to start the network
  installation using DHCP,  and then switch over to  a static network
  configuration in your kickstart file, with a line like:

  ==
  network --bootproto=static --ip=1.2.3.4 --netmask=255.255.255.0 --gateway=1.2.3.1 --nameserver=8.8.8.8 --hostname=dhcpunit
  ==

  However in Ubuntu 11.10 that does not seem to work, and it is still
  using DHCP after installation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kickseed/+bug/879605/+subscriptions



More information about the foundations-bugs mailing list