]> git.proxmox.com Git - mirror_lxc.git/commit
lxc-start-ephemeral: startup time improvement
authorStéphane Graber <stgraber@ubuntu.com>
Thu, 13 Sep 2012 14:08:39 +0000 (10:08 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 12 Nov 2012 18:18:32 +0000 (13:18 -0500)
commitabbe2ead95fdee6a0d59da35ce3542439ec2abcc
treef0e82c342ed72b0894f71e6de24c83589926409b
parent6506255cfdab516114e35266c9d70b7ed3cd2bec
lxc-start-ephemeral: startup time improvement

Re-organize the code to only call get_ips() when we actually need
the IP address of the container.

Also bump the timeout for get_ips() from 5s to 10s to accomodate
slower machines.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxc-start-ephemeral.in