Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
Use xenial LTS ubuntu version in scripts (#115)
Browse files Browse the repository at this point in the history
wily was removed from repositories
  • Loading branch information
r7vme committed Sep 22, 2017
1 parent 46a7239 commit 7213053
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/fetch-coreos-image
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mkdir -p ./images/${COREOS_VERSION}/usr/share/oem
cp templates/first_stage_cloudconfig.yaml ./images/${COREOS_VERSION}/usr/share/oem/cloud-config.yml

docker run --rm -v $(pwd)/images/${COREOS_VERSION}:/usr/code/images \
ubuntu:wily /bin/bash -c "apt-get update -y && apt-get install cpio && \
ubuntu:xenial /bin/bash -c "apt-get update -y && apt-get install cpio && \
zcat /usr/code/images/coreos_pxe_image.cpio.gz > /usr/code/images/coreos_production_pxe_image.cpio && \
cd /usr/code/images && find usr | cpio -o -A -H newc -O coreos_production_pxe_image.cpio && \
gzip coreos_production_pxe_image.cpio"
Expand Down
2 changes: 1 addition & 1 deletion scripts/fetch-coreos-qemu-image
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ echo "$COREOS_VERSION" > coreos-version
gpg --verify coreos_production_pxe.vmlinuz.sig
gpg --verify coreos_production_pxe_image.cpio.gz.sig

docker run --rm -v $IMAGE_PATH:/usr/code/images --net=host ubuntu:wily /bin/bash -c "apt-get update -y && apt-get install cpio && \
docker run --rm -v $IMAGE_PATH:/usr/code/images --net=host ubuntu:xenial /bin/bash -c "apt-get update -y && apt-get install cpio && \
zcat /usr/code/images/coreos_production_pxe_image.cpio.gz | cpio -i --quiet --sparse usr.squashfs && mv usr.squashfs /usr/code/images/$USRFS"

cp coreos_production_pxe.vmlinuz $KERNEL
Expand Down

0 comments on commit 7213053

Please sign in to comment.