Commit graph

8 commits

Author SHA1 Message Date
Virgil Dupras
aa777653f4 Use lxc-info instead of lxc-attach to retrieve container IP
`lxc-info -iH` to retrieve IP address was not available in early LXC
development but was there at LXC 1.0. Because we've bumped our minimum
LXC requirement to v1.0 recently, we can simplify the IP retrieval
process and also get rid of the `dnsmasq` fallback.
2018-01-13 15:53:28 -05:00
Hugo Fonseca
cac4910296 tries amount of fetching ip is now configurable 2016-11-09 14:38:05 +00:00
Hugo Fonseca
2d63603d85 Increase the re-tries amount 2016-11-07 15:34:48 +00:00
Fabio Rehm
752fa9b4e5 action/fetch_ip_with_lxc_attach: Attach to the MOUNT namespace in order to fix GH-300 2014-07-24 21:58:04 -03:00
Vokhmin Alexey V
3375a9c40c small refactoring, added scripts for Openmandriva 2013-10-21 23:11:43 +04:00
Fabio Rehm
f9dd5392ff Improve checking for support for fetching IP with lxc-attach [GH-118] 2013-09-28 22:37:31 -03:00
Fabio Rehm
175c40765a Fall back to dnsmasq leases file if not able to fetch IP with lxc-attach
Closes GH-118
2013-09-28 03:12:58 -03:00
Fabio Rehm
0385a64d31 Replace ugly driver builder with a more intelligent approach
References #118
2013-07-29 12:08:24 -03:00