Created
June 24, 2020 21:27
-
-
Save vbatts/0409a0a85a74ff2de55a1d08933983db to your computer and use it in GitHub Desktop.
run a local flatcar VM for testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -eu | |
curl -LO https://www.flatcar-linux.org/security/image-signing-key/Flatcar_Image_Signing_Key.asc | |
gpg --import Flatcar_Image_Signing_Key.asc | |
wget \ | |
https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_qemu_image.img.bz2 \ | |
https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_qemu.sh \ | |
https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_qemu.README \ | |
https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_qemu_image.img.bz2.DIGESTS \ | |
https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_qemu_image.img.bz2.DIGESTS.asc | |
gpg --verify flatcar_production_qemu_image.img.bz2.DIGESTS.asc | |
sha512sum -c flatcar_production_qemu_image.img.bz2.DIGESTS | |
bunzip2 flatcar_production_qemu_image.img.bz2 | |
sh ./flatcar_production_qemu.sh -a ~/.ssh/authorized_keys -p 2223 -- -curses | |
# and then `ssh -l core -A -p 2223 localhost` from another terminal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment