lxc-clone improperly configures dhcp (config file)
Bug #851274 reported by
Benjamin Saller
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
While lxc-clone conceptually does the proper thing to /etc/dhcp/
- sed -i "s/send host-name.*$/send host-name $hostname/" $rootfs/
+ sed -i "s/send host-name.*$/send host-name $hostname;/" $rootfs/
Adds the semicolon fixing the issue.
Related branches
lp:~serge-hallyn/ubuntu/oneiric/lxc/fix-lxc-clone-hostname
- Chuck Short: Pending requested
-
Diff: 313 lines (+253/-2)6 files modified.pc/0007-fix-lxc-clone-hostname.patch/src/lxc/lxc-clone.in (+208/-0)
.pc/applied-patches (+1/-0)
debian/changelog (+9/-0)
debian/patches/0007-fix-lxc-clone-hostname.patch (+31/-0)
debian/patches/series (+1/-0)
src/lxc/lxc-clone.in (+3/-2)
To post a comment you must log in.
Thanks for this bug report, Benjamin.