Skip to content

Instantly share code, notes, and snippets.

@alancnet
Created November 27, 2015 04:01
Show Gist options
  • Save alancnet/378892cccbac4ef31d47 to your computer and use it in GitHub Desktop.
Save alancnet/378892cccbac4ef31d47 to your computer and use it in GitHub Desktop.
How to CoreOS on Mac
# Pre-requisits
## for mkisofs
brew install dvdrtools
## fix brew
cd /usr/local/Library/
sudo git pull origin master
## gpg
brew install gpg
## sha1sum
brew install md5sha1sum
## sha256sum
brew install coreutils
# Create Virtual Box Image
curl -O https://raw.githubusercontent.com/coreos/scripts/master/contrib/create-coreos-vdi
chmod +x create-coreos-vdi
./create-coreos-vdi -d ~/Library/VirtualBox/Templates/
# Create config disk
wget https://raw.github.com/coreos/scripts/master/contrib/create-basic-configdrive
chmod +x create-basic-configdrive
./create-basic-configdrive -H my_vm01 -S ~/.ssh/id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment