Vagrant Sakura Provider ã使ã£ã¦ãVagrant ã§ãããã®ã¯ã©ã¦ã使ã£ã¦ã¿ããããã¨ã¯å¥ã« vagrant-sacloud ã£ã¦ã®ããããã©ãã¤ã³ã¹ãã¼ã«ã楽ã£ã¦ãã¨ã§ Vagrant Sakura Provider ãé¸ãã ã
ãããã³ã³ãã使ããªãã¦ããã®ã¯å¿«é©ã ãªã
使ãã¨ãã¯ä¸ç¹æ³¨æããã£ã¦ãsakura.disk_source_archive
ã«é©åãªå¤ãããã¦ããå¿
è¦ããããããã©ã 㨠Ubuntu 12.04.2LTS-server 64bit ã® ID ã¨ã㦠'112500182464'
ã«ãªããã ãã©ãããã¤ãå¤ãã®ããªããªã®ã使ããªãã¦ã代ããã« '112500459149'
ãæå®ããã¨åããã¤ã¾ãã¯ãããããã¨ã
Vagrant.configure("2") do |config| config.vm.box = "dummy" config.ssh.username = "ubuntu" config.ssh.private_key_path = File.expand_path "~/.ssh/id_rsa" config.vm.provider :sakura do |sakura| sakura.disk_source_archive = '112500459149' sakura.access_token = 'XXXX' sakura.access_token_secret = 'XXXX' sakura.sshkey_id = '12345' end end
ã©ã£ãã '112500459149'
ãªãã¦ããæ°åãåºã¦ããã®ãã¨ãã㨠vagrant-sakura
ãå
¥ããæã«ã¤ãã¦ãã vagrant sakura-list-id
ããåºã¦ããã
$ vagrant sakura-list-id Zone: is1a ---- Archives ---- ID Name 112500513643 CentOS 5.10 64bit (åºæ¬ã»ãã) 112500570421 CentOS 6.5 64bit (åºæ¬ã»ãã) 112500169813 Scientific Linux 6.4 64bit (åºæ¬ã»ãã) 112500582450 Scientific Linux 6.5 RC1 64bit (åºæ¬ã»ãã) 112400500864 FreeBSD 8.3 64bit (åºæ¬ã»ãã) 112400554008 FreeBSD 9.1 64bit (åºæ¬ã»ãã) 112500459149 Ubuntu Server 12.04.3 LTS 64bit (åºæ¬ã»ãã) 112500213364 Ubuntu Server 13.04 64bit (åºæ¬ã»ãã) 112500489806 Ubuntu Server 13.10 64bit (åºæ¬ã»ãã) 112500182511 Debian GNU/Linux 6.0.7 64bit (åºæ¬ã»ãã) 112500583029 Debian GNU/Linux 7.3.0 64bit (åºæ¬ã»ãã) 112500513592 CentOS 5.10 64bit (åºæ¬ã»ãã) 112500570402 CentOS 6.5 64bit (åºæ¬ã»ãã) 112500582531 Scientific Linux 6.5 RC1 64bit (åºæ¬ã»ãã) 112400500863 FreeBSD 8.3 64bit (åºæ¬ã»ãã) 112400554007 FreeBSD 9.1 64bit (åºæ¬ã»ãã) 112500459481 Ubuntu Server 12.04.3 LTS 64bit (åºæ¬ã»ãã) 112500213598 Ubuntu Server 13.04 64bit (åºæ¬ã»ãã) 112500489823 Ubuntu Server 13.10 64bit (åºæ¬ã»ãã) 112500583034 Debian GNU/Linux 7.3.0 64bit (åºæ¬ã»ãã) 112500127179 Vyatta Core 6.5R1 32bit (6rd対å¿) 112600032371 Windows Server 2008 R2 112600051846 Windows Server 2012 R2 112600051011 Windows Server 2008 R2 for RDS 112600051958 Windows Server 2008 R2 for RDS(MS Officeä») ---- Server Plans ---- ï¼ä»¥ä¸ç¥ï¼
vagrant up --provider=sakura
ã§ãµã¯ãµã¯ãµã¯ã©ã¯ã©ã¦ãã©ã¤ãã