Commit Graph

8 Commits (master)

Author SHA1 Message Date
Joseph Bisch ddd3aed172 Switch to xenial for default suite
It can be confusing to new users for make-base-vm to create a lucid vm
by default, so switch to xenial, which is also a LTS release, but isn't
EOL yet. Using lucid with gitian-builder is broken anyway, because
lucid has been moved to old-releases.ubuntu.com since it is EOL and
gitian-builder doesn't support old-releases.ubuntu.com.
8 years ago
Lunar 56bd00ea39 Copy target image as a sparse file in LXC mode
This will save us from writing a lot of zeros on disk.
10 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
devrandom 84796af6ac make README.md Sanity Test section work as written 11 years ago
Gavin Andresen 8d937f553b VirtualBox support 11 years ago
devrandom 0bc83c5f44 Use image file for lxc 12 years ago
devrandom 5e77059137 Using backing image instead of copy for qemu image. From lukejr. 12 years ago
devrandom 28bb421156 First pass lxc support 12 years ago