bionic based
This commit is contained in:
parent
59dd4e9c01
commit
dde705da56
|
@ -19,7 +19,7 @@ jobs:
|
|||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y golang-go debootstrap rsync gpg squashfs-tools git
|
||||
sudo go get -v -x github.com/lxc/distrobuilder/distrobuilder
|
||||
sudo go get -x github.com/lxc/distrobuilder/distrobuilder
|
||||
sudo python3 -m pip install pyyaml
|
||||
# build container
|
||||
- name: Build Artifact
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
image:
|
||||
name: ubuntu-disco-x86_64-piston
|
||||
name: ubuntu-bionic-x86_64-piston
|
||||
distribution: ubuntu
|
||||
release: focal
|
||||
release: bionic
|
||||
description: |-
|
||||
Ubuntu {{ image.release }} preconfigured for Piston
|
||||
architecture: x86_64
|
||||
|
||||
source:
|
||||
downloader: debootstrap
|
||||
same_as: gutsy
|
||||
same_as: bionic
|
||||
url: http://archive.ubuntu.com/ubuntu
|
||||
keyserver: keyserver.ubuntu.com
|
||||
keys:
|
||||
|
|
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…
Reference in New Issue