[Bug 851274] [NEW] lxc-clone improperly configures dhcp (config file)

Benjamin Saller 851274 at bugs.launchpad.net
Thu Sep 15 20:14:57 UTC 2011


Public bug reported:

While lxc-clone conceptually does the proper thing to
/etc/dhcp/dhclient.conf its missing a critical ';' at the end of the
line breaking how it works.

-    sed -i "s/send host-name.*$/send host-name $hostname/" $rootfs/etc/dhcp/dhclient.conf
+    sed -i "s/send host-name.*$/send host-name $hostname;/" $rootfs/etc/dhcp/dhclient.conf

Adds the semicolon fixing the issue.

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/851274

Title:
  lxc-clone improperly configures dhcp (config file)

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



More information about the Ubuntu-server-bugs mailing list