You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitian-builder/libexec
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
..
config-bootstrap-fixup Un-hardcode host/guest IP 10 years ago
config-lxc Un-hardcode host/guest IP 10 years ago
copy-from-target Increase ssh connection timeout to 30 seconds 11 years ago
copy-to-target Increase ssh connection timeout to 30 seconds 11 years ago
gconfig initial 14 years ago
make-clean-vm Un-hardcode host/guest IP 10 years ago
on-target make passing env vars work across guest OS suites 11 years ago
start-target Perhaps also actually enable KVM... 11 years ago
stop-target VirtualBox support 12 years ago