Skip to content

Instantly share code, notes, and snippets.

@Ladicle
Created November 12, 2016 08:26
Show Gist options
  • Save Ladicle/574be5d940045d2d6268454afe674c03 to your computer and use it in GitHub Desktop.
Save Ladicle/574be5d940045d2d6268454afe674c03 to your computer and use it in GitHub Desktop.
#!/bin/bash -e
echo "1. Create temporary directory"
mkdir tmp && cd tmp
echo "2. Download install script"
wget https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install
wget https://gist.githubusercontent.com/Ladicle/c2dde654a4388aa347f2b575e2a17da1/raw/af963e4eabc5e77f252eccbacdc0eef9da3699f6/cloud-config.yml
echo "3. Install coreos to /dev/sda"
chmod +x coreos-install
./coreos-install -d /dev/sda -c cloud-config.yml -C stable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment