add yamls and mods to accept various images
This commit is contained in:
parent
e9825ad01a
commit
b44639dfe0
6 changed files with 133 additions and 18 deletions
|
|
@ -5,19 +5,13 @@ set -exu
|
|||
apt-get update
|
||||
apt-get install -y \
|
||||
curl \
|
||||
bzip2 \
|
||||
openssh-client \
|
||||
qemu-kvm
|
||||
|
||||
URL="http://${CL_CHANNEL}.release.core-os.net/amd64-usr/${CL_VERSION}/coreos_production_qemu_image.img.bz2"
|
||||
echo "Downloading Container Linux $CL_CHANNEL $CL_VERSION $URL"
|
||||
curl -O $URL
|
||||
bzip2 -d coreos_production_qemu_image.img.bz2
|
||||
|
||||
curl -L https://github.com/coreos/container-linux-config-transpiler/releases/download/v0.3.0/ct-v0.3.0-x86_64-unknown-linux-gnu -o ct
|
||||
chmod +x ct
|
||||
|
||||
apt-get remove -y curl bzip2
|
||||
apt-get autoremove -y
|
||||
apt-get clean
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue