Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 2.64 KB

README.md

File metadata and controls

55 lines (33 loc) · 2.64 KB

CoreOS Packer

This is a packer template for CoreOS. The template currently supports only for Vagrant with Parallels images, but other builders will be added soon.

Getting Started with Vagrant and Parallels

1. Preparation

Install Homebrew

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install caskroom/cask/brew-cask

You need an appropriate license to use Parallels Desktop & Virtualization SDK.

$ brew cask install parallels-desktop
$ brew cask install parallels-virtualization-sdk
$ brew cask install vagrant
$ vagrant plugin install vagrant-parallels

Install Packer

$ brew cask install packer

2. Build a Vagrant Box

$ git clone https://github.com/jgkim/coreos-packer.git
$ cd coreos-packer
$ packer build -var 'channel=stable' -var 'version=647.2.0' -var 'checksum=adef94fabf7c3573b37b35fc7cf7ff2c' coreos.json

3. Add the Box to Vagrant

$ vagrant box add --force --provider=parallels -name {name}/coreos-stable builds/stable/647.2.0/coreos_production_vagrant_parallels.box

4. Vagrant Up

$ vagrant init {name}/coreos-stable
$ vagrant up
$ vagrant ssh

Known Issues