lxc-clone should replace/change hwaddr when cloning containers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Medium
|
Serge Hallyn |
Bug Description
I hit this using the local juju provider on precise with the latest updates to lxc.
The ubuntu template now automatically generates a hwaddr for the lxc container when it is created.
However this then get propagated to clones of of this container resulting in multiple lxc instances all with the same mac address.
I worked around this by scrubbing it from the base template container; however lxc-clone should probably remove or re-generate this during container cloning.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu27
ProcVersionSign
Uname: Linux 3.2.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Fri Feb 17 15:02:25 2012
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in lxc (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
This bug was fixed in the package lxc - 0.7.5-3ubuntu28
---------------
lxc (0.7.5-3ubuntu28) precise; urgency=low
* 0045-fix- other-templates : lots of template fixes. Make sshd, debian, clone-change- hwaddr - when cloning a container, give it a new
fedoray, and busybox templates actually work. Fix inconsistent --auth_key
vs --auth-key usage in ubuntu templates.
* 0046-lxc-
hwaddr. (LP: #934256)
-- Serge Hallyn <email address hidden> Fri, 17 Feb 2012 15:18:19 -0600