Commit Graph

9 Commits (e3c2e8d3dab858055fcd0bbdf87517f3549318fb)

Author SHA1 Message Date
Joseph Bisch e3c2e8d3da Add support for Debian guests using LXC 8 years ago
Joseph Bisch c0c8392d49 Purge grub-legacy and bcron-run to work around Debian guest issue 9 years ago
Joseph Bisch 8b297cbcdf Initial Debian guest support 9 years ago
Joseph Bisch dbf04f4ece Use lsb_release to get codename rather than /etc/lsb-release
It seems like a lsb_release program should be available on any distro if
the appropriate package is installed. So it seems better to use
lsb_release instead of /etc/lsb-release, because Debian doesn't appear
to have /etc/lsb-release.
9 years ago
Devrandom 7219c490cc make bootstrap-fixup idempotent 9 years ago
Devrandom 1ae746f68f LXC cleanup 9 years ago
Devrandom f4b72bbec4 hold packages for lucid 9 years ago
Devrandom af56f89a6a improved LXC support
fixes #86
9 years ago
Wladimir J. van der Laan 5785dfc3ae Un-hardcode host/guest IP
I was running into trouble using gitian LXC INSIDE a VirtualBox VM, because
the 10.0.2.x IP range overlaps with the range that VirtualBox uses for
its internal NAT network.

This commit makes it possible to override the host and guest IP that
is used during LXC image creation and the build, using environment variables:

- `GITIAN_HOST_IP` (default=10.0.2.2, host IP from the viewpoint of the
   VM, can be used for both LXC and KVM)
- `LXC_GUEST_IP` (default=10.0.2.5, guest IP from the viewpoint of the
   host, effective for LXC only)

When these are not defined the behavior remains the same as before.
10 years ago