Skip to content

Instantly share code, notes, and snippets.

@tatsuya6502
Created April 14, 2014 04:39
Show Gist options
  • Save tatsuya6502/10616421 to your computer and use it in GitHub Desktop.
Save tatsuya6502/10616421 to your computer and use it in GitHub Desktop.
vagrant-kvm CentOS 6 Vagrantflile
Vagrant.configure('2') do |config|
config.vm.hostname = 'centos6'
config.vm.box = 'centos-6.5'
config.vm.box_url = 'https://vagrant-kvm-boxes-si.s3.amazonaws.com/centos-6-amd64-kvm-20140413.box'
# config.vm.synced_folder ".", "/vagrant", type: "nfs"
# config.vm.network :private_network, ip: "192.168.80.50"
config.vm.provider :kvm do |kvm, override|
# kvm.gui = true
kvm.memory = '512MB'
end
if Vagrant.has_plugin?("vagrant-cachier")
config.cache.auto_detect = true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment