Skip to content

Instantly share code, notes, and snippets.

@aliles
Created May 16, 2014 13:03
Show Gist options
  • Save aliles/d7cdc0ebdf7808f5b581 to your computer and use it in GitHub Desktop.
Save aliles/d7cdc0ebdf7808f5b581 to your computer and use it in GitHub Desktop.
Vagrantfile to provision a virtual machine with ZeroVM.
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# 64-bit Ubuntu 12.04 LTS
config.vm.box = "hashicorp/precise64"
# Install apt-get repository
config.vm.provision "shell", inline: "apt-get update"
config.vm.provision "shell", inline: "apt-get -y install python-software-properties"
config.vm.provision "shell", inline: "add-apt-repository -y ppa:zerovm-ci/zerovm-latest"
config.vm.provision "shell", inline: "apt-get update"
# Install zerovm and utils
config.vm.provision "shell", inline: "apt-get -y install zerovm-zmq"
config.vm.provision "shell", inline: "apt-get -y install zerovm-cli"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment