mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 11:16:27 +02:00
bionic based
This commit is contained in:
parent
59dd4e9c01
commit
dde705da56
3 changed files with 10 additions and 10 deletions
12
readme.md
12
readme.md
|
@ -141,20 +141,20 @@ cd piston/lxc
|
|||
|
||||
#### Installation (simple)
|
||||
|
||||
- `mkdir -p /var/lib/lxc/piston`
|
||||
- `cd /var/lib/lxc/piston`
|
||||
- `wget [latest container url] -o container.zip`
|
||||
- `unzip container.zip`
|
||||
- `tar xzf rootfs.tar.gz`
|
||||
- `rm rootfs.tar.gz container.zip`
|
||||
- `lxc-create -n piston -t local -- --metadata meta.tar.xz --fstree rootfs.tar.xz`
|
||||
- `cd ../lxc && ./start`
|
||||
- Good to go!
|
||||
|
||||
|
||||
#### Installation (advanced)
|
||||
|
||||
- `cd ../container && ./install.sh`
|
||||
- Install additional dependencies python3, pip and distrobuilder
|
||||
- `cd ../container && ./build.sh`
|
||||
- Wait, it may take up to an hour.
|
||||
- `cd ../lxc && ./start && cd ..`
|
||||
- `lxc-create -n piston -t local -- --metadata meta.tar.xz --fstree rootfs.tar.xz`
|
||||
- `cd ../lxc && ./start`
|
||||
- Good to go!
|
||||
|
||||
Alternatively, see `var/install.txt` for how to build the container manually
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue