With the fix from bug 914169, the only basic change we need in this script is as follows:
121,122c121,122 < mkdir -p $LXC_DIR/rootfs/var/lib/dhcp3 < mkdir -p $LXC_DIR/rootfs/var/lib/dhcp --- > sudo mkdir -p $LXC_DIR/rootfs/var/lib/dhcp3 > sudo mkdir -p $LXC_DIR/rootfs/var/lib/dhcp We're also interested in making the ssh call more robust by retrying a few times if it fails. Sometimes the sshd has not yet started in the container, so this can give spurious errors. We gave an initial stab at this but do not have a solution yet. -- 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/914169 Title: lxc-start-ephemeral script does not support in-line programmatic commands to ephemeral containers To manage notifications about this bug go to: https://bugs.launchpad.net/launchpad/+bug/914169/+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