Joseph Bisch
8b297cbcdf
Initial Debian guest support
il y a 5 ans
Miron
b48730064a
handle no lxc installed
il y a 5 ans
Dev Random
1913792091
Start using lxc-execute from LXC version 1.0.0
il y a 5 ans
Devrandom
af56f89a6a
improved LXC support
fixes #86
il y a 5 ans
Devrandom
7b82201dd7
allow overwrite in copy-from-target
fixes #80
il y a 6 ans
Cory Fields
037d17aff7
fix copy-from-target when using lxc to copy a subdir
il y a 6 ans
Lunar
c4c8348dff
Use virtio for disk in KVM instead of emulating real hardware
This should improve I/O performance.
il y a 6 ans
Lunar
56bd00ea39
Copy target image as a sparse file in LXC mode
This will save us from writing a lot of zeros on disk.
il y a 6 ans
Devrandom
07108c4eeb
Default back to lxc-start, with option for lxc-execute
il y a 6 ans
Christopher Gurnee
63fe5d1de2
Fix issue #63: use lxc-execute instead of lxc-start
il y a 6 ans
Wladimir J. van der Laan
4e90888bcf
Make it possible to override bridge if for LXC
For example Ubuntu installs a bridge called `virbr0` by default for LXC.
Using this system-provided bridge avoids having to configure one
specifically before gitian building.
This commits makes it possible to override the bridge used by gitian
using the environment variable LXC_BRIDGE. The default is still to use
`br0` as before.
il y a 7 ans
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.
il y a 7 ans
devrandom
79c1217cb1
make passing env vars work across guest OS suites
il y a 7 ans
devrandom
6919e04de1
use sudo even for root lxc so that path is set
il y a 7 ans
devrandom
f7148de91b
try again
il y a 7 ans
devrandom
c47e51af72
second try
il y a 7 ans
devrandom
af52ebf6cb
use shell for lxc-start exec
il y a 7 ans
devrandom
84796af6ac
make README.md Sanity Test section work as written
il y a 7 ans
Warren Togami
e51dbdc9e3
Fix --user in --help to display how the command actually works
il y a 7 ans
Wladimir J. van der Laan
cdb3bb4d43
Increase ssh connection timeout to 30 seconds
The previous 5-second timeout causes random errors during compilation
here, increasing it to 30 seconds solves this problem.
il y a 8 ans
Pieter Wuille
9a198b32a7
Perhaps also actually enable KVM...
il y a 8 ans
Pieter Wuille
b7b24bd401
Use qemu-system- instead of kvm -m
As kvm -m doesn't work in Ubuntu 13.04 anymore.
il y a 8 ans
Luke Dashjr
54aeb2df27
Allow environment-configurable KVM binary name
il y a 8 ans
Gavin Andresen
8d937f553b
VirtualBox support
il y a 8 ans
Matt Corallo
6a87c1dcb7
Use writeback disk cache in kvm.
il y a 8 ans
devrandom
953edf57df
Fix scp for git repos
il y a 9 ans
devrandom
0bc83c5f44
Use image file for lxc
il y a 9 ans
devrandom
5e77059137
Using backing image instead of copy for qemu image. From lukejr.
il y a 9 ans
devrandom
28bb421156
First pass lxc support
il y a 9 ans
Matt Corallo
e2d600f242
Dont listen for remote VNC/SSH connections in kvm.
il y a 9 ans
devrandom
10b40d5ad5
improve quietness flag
il y a 9 ans
devrandom
d60397616d
add -j and -m flags to control VM processors, make procs and VM memory
il y a 9 ans
Matt Corallo
3ccd662304
Make the timeout a bit longer to accommodate machines under high load.
il y a 10 ans
devrandom
6c7dd53eed
no host auth for copy-*-target
il y a 10 ans
devrandom
0d12b0f72f
no ssh host auth for localhost
il y a 10 ans
devrandom
7bf63853bc
revert memory size, update apt-get to grab from new IP address
il y a 10 ans
devrandom
a344ed9dac
Make guest default to 10.0.2.2 as the apt mirror, fix skip_image vs quiet flags
il y a 10 ans
devrandom
928a5f0880
multi-architecture builds
il y a 10 ans
devrandom
4db2a9dfa0
initial
il y a 10 ans