bionic based
This commit is contained in:
parent
59dd4e9c01
commit
dde705da56
|
@ -19,7 +19,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y golang-go debootstrap rsync gpg squashfs-tools git
|
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
|
sudo python3 -m pip install pyyaml
|
||||||
# build container
|
# build container
|
||||||
- name: Build Artifact
|
- name: Build Artifact
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
image:
|
image:
|
||||||
name: ubuntu-disco-x86_64-piston
|
name: ubuntu-bionic-x86_64-piston
|
||||||
distribution: ubuntu
|
distribution: ubuntu
|
||||||
release: focal
|
release: bionic
|
||||||
description: |-
|
description: |-
|
||||||
Ubuntu {{ image.release }} preconfigured for Piston
|
Ubuntu {{ image.release }} preconfigured for Piston
|
||||||
architecture: x86_64
|
architecture: x86_64
|
||||||
|
|
||||||
source:
|
source:
|
||||||
downloader: debootstrap
|
downloader: debootstrap
|
||||||
same_as: gutsy
|
same_as: bionic
|
||||||
url: http://archive.ubuntu.com/ubuntu
|
url: http://archive.ubuntu.com/ubuntu
|
||||||
keyserver: keyserver.ubuntu.com
|
keyserver: keyserver.ubuntu.com
|
||||||
keys:
|
keys:
|
||||||
|
|
12
readme.md
12
readme.md
|
@ -141,20 +141,20 @@ cd piston/lxc
|
||||||
|
|
||||||
#### Installation (simple)
|
#### Installation (simple)
|
||||||
|
|
||||||
- `mkdir -p /var/lib/lxc/piston`
|
|
||||||
- `cd /var/lib/lxc/piston`
|
|
||||||
- `wget [latest container url] -o container.zip`
|
- `wget [latest container url] -o container.zip`
|
||||||
- `unzip container.zip`
|
- `unzip container.zip`
|
||||||
- `tar xzf rootfs.tar.gz`
|
- `lxc-create -n piston -t local -- --metadata meta.tar.xz --fstree rootfs.tar.xz`
|
||||||
- `rm rootfs.tar.gz container.zip`
|
- `cd ../lxc && ./start`
|
||||||
- Good to go!
|
- Good to go!
|
||||||
|
|
||||||
|
|
||||||
#### Installation (advanced)
|
#### 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.
|
- 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!
|
- Good to go!
|
||||||
|
|
||||||
Alternatively, see `var/install.txt` for how to build the container manually
|
Alternatively, see `var/install.txt` for how to build the container manually
|
||||||
|
|
Loading…
Reference in New Issue