bionic based

This commit is contained in:
Thomas Hobson 2021-01-28 23:10:55 +13:00
parent 59dd4e9c01
commit dde705da56
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
3 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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:

View File

@ -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