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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to