For completeness, here's a cleaner copy of the patch, along with the centos script I'm using, from that same thread.
I haven't actually deployed yet, but it passes my little unit test. ** Patch added: "0001-Add-Centos-support-to-lxc-create.patch" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1042431/+attachment/3280828/+files/0001-Add-Centos-support-to-lxc-create.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1042431 Title: lxc-start-ephemeral needs tweak to handle centos and fedora hostname setting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1042431/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs