this is based in YungSang's original work and research. it's just a refactoring to suit my own tastes.
for tips on CoreOS and Vagrant general usage do look at coreos-vagrant (together with this pull request).
$ CHANNEL=$channel VERSION_ID=$version_id make
where $channel is one of alpha, beta or stable (default is alpha) and $version a given CoreOS release (the default is the latest one). see here for what's available
so, in order to build all the latest versions of all channels one would just have to do ...
$ for channel in stable beta alpha; do \
make _clean; \
CHANNEL=$channel make; \
done;
$ vagrant box add coreos-beta coreos-beta-522.5.0-parallels.box --provider parallels
$ vagrant init coreos-beta
$ vagrant up --provider parallels
Or, manually
VAGRANTFILE_API_VERSION = "2"
Vagrant.require_version ">= 1.5.0"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "AntonioMeireles/coreos"
config.vm.network "forwarded_port", guest: 2375, host: 2375
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.synced_folder ".", "/home/core/vagrant", id: "core", type: "nfs", mount_options: ["nolock", "vers=3", "udp"]
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
$ vagrant up
up to date boxes built with this tool are available at Vagrant's Atlas here.
To the extent possible under law, the person who associated CC0 with this work has waived all copyright and related or neighbouring rights to this work.