Created attachment 853855 [details]
Patch to add network device hardware address
Description of problem:
The lxc-fedora template does not generate a network hardware address. This has the inconvenient that each time the container is rebooted the DHCP server assigns a different IP address.
I include a patch that fixes the issue (copying some code from the lxc-ubuntu template)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Just create a new container "lxc-create -t fedora -n test -- -R 20"
2. Check that /var/lib/lxc/test/config does not contain a lxc.network.hwaddr entry.
This is fixed in upsteam code and templates.
lxc-1.0.5-2.el6 has been submitted as an update for Fedora EPEL 6.
lxc-1.0.5-2.fc19 has been submitted as an update for Fedora 19.
lxc-1.0.5-2.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing lxc-1.0.5-2.el6'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
lxc-1.0.5-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
lxc-1.0.5-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
lxc-1.0.5-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.