Skip to content

Commit

Permalink
Add a sample vm
Browse files Browse the repository at this point in the history
  • Loading branch information
kusnier committed Sep 25, 2013
1 parent 071979d commit 2161026
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions sample-vm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vagrant
25 changes: 25 additions & 0 deletions sample-vm/Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# -*- 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|

# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "precise32"

# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
config.vm.box_url = "http://files.vagrantup.com/precise32.box"

# configure a persistent storage for mysql data
config.persistent_storage.enabled = true
config.persistent_storage.location = "virtualdrive.vdi"
config.persistent_storage.size = 5000
config.persistent_storage.mountname = 'mysql'
config.persistent_storage.filesystem = 'ext4'
config.persistent_storage.mountpoint = '/var/lib/mysql'
config.persistent_storage.volgroupname = 'myvolgroup'

end

0 comments on commit 2161026

Please sign in to comment.