Skip to content

Instantly share code, notes, and snippets.

@tokida
Created June 24, 2014 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tokida/a164bbf502ca4710623d to your computer and use it in GitHub Desktop.
Save tokida/a164bbf502ca4710623d to your computer and use it in GitHub Desktop.
# -*- 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|
config.vm.box = "dummy"
config.vm.box_url = "https://github.com/audiolize/vagrant-softlayer/raw/master/dummy.box"
config.vm.synced_folder ".", "/vagrant", type: "rsync"
config.ssh.private_key_path = "/Users/tokida/.ssh/sl_rsa"
config.ssh.username = "root"
config.vm.provider :softlayer do | sl, override |
sl.api_key = "*****"
sl.username = "SL****"
sl.datacenter = "ams01"
sl.dedicated = false
sl.domain = "niandc.co.jp"
sl.disk_capacity = { 0 => 25 }
sl.hostname = "vagrant01"
sl.hourly_billing = true
sl.image_guid = nil
sl.local_disk = true
sl.max_memory = 1024
sl.network_speed = 10
sl.operating_system = "UBUNTU_LATEST"
sl.ssh_key = [“tokida”]
sl.start_cpus = 1
override.ssh.username = "root"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment