vagrant-sakura 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d146b95ae66f637cdc141babf5feeaf19b01faa9
4
- data.tar.gz: 3c3f36f34d6acf714d0f2ef048b09483bcc837d6
3
+ metadata.gz: 32a5e6b2569917292788ba089660bda6e4784a84
4
+ data.tar.gz: d659d26e867df31f8cc26f98a30a6cb25312876e
5
5
  SHA512:
6
- metadata.gz: 36be3b3c6b630ecb9fc6d15363369361012c43efa34762a8acfe34e02ef5035aeadc21a1c4465412418a840fe57167901f5951e587e94a1451ce5d302656f4b0
7
- data.tar.gz: f6b3c22a7845b93318cbb5cdc7d1520b35777389d9848771a685db5bf6e141fc6804238954b2a4764fd0c4fbaee86e6c3b8026faaa7d867d595bc4d57ebb8923
6
+ metadata.gz: 6996f6f9b63da9f1f461ac1670dc7aa4c9600b420a777f4db3db3d594848e38e2f47b63656735b98d484d8708ead0048b7875e84e835dfaef601c4f89d627eeb
7
+ data.tar.gz: b08907c41a673d625f3f7152dc6b17ee50e4e924c62953bccda7bbe298e46bae7c1afd8d155963a7a3c962c510fb8799d3ed8b0d3c7113accca541677b1c90c8
@@ -1,3 +1,6 @@
1
+ # 0.0.8 (2016/05/12)
2
+ - Update default disk archive.
3
+
1
4
  # 0.0.7 (2015/02/19)
2
5
 
3
6
  - Update CA certificate for secure.sakura.ad.jp.
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  group :development do
4
- gem "vagrant", :git => "git://github.com/mitchellh/vagrant.git", :tag => 'v1.7.2'
4
+ gem "vagrant", :git => "git://github.com/mitchellh/vagrant.git", :tag => 'v1.8.1'
5
5
  end
6
6
 
7
7
  group :plugins do
data/README.md CHANGED
@@ -64,7 +64,10 @@ end
64
64
  そして ``vagrant up --provider=sakrua`` を実行してください。
65
65
 
66
66
  サーバのディスクソースを ``sakura.disk_source_archive`` で指定しなかった
67
- 場合のデフォルトは ``112500182464`` で Ubuntu 12.04.2LTS-server 64bit です。
67
+ 場合のデフォルトは ``112800438454`` で
68
+ Ubuntu Server 14.04.4 LTS 64bit
69
+ です。
70
+
68
71
  このディスクソースのログインアカウントは ``root`` ではないため、
69
72
  ``config.ssh.username`` で指定してやる必要があります。
70
73
 
@@ -121,7 +124,7 @@ $ vagrant sakura-list-id
121
124
  - ``server_name`` - サーバ名
122
125
  - ``server_plan`` - 作成するサーバのプラン ID
123
126
  - ``sshkey_id`` - サーバへのログインに利用する SSH 公開鍵のリソース ID
124
- - ``zone_id`` - ゾーン ID (石狩第1=`is1a`, 石狩第2=`is1b`)
127
+ - ``zone_id`` - ゾーン ID (石狩第1=`is1a`, 石狩第2=`is1b`、東京第1=`tk1a`)
125
128
 
126
129
  ## ネットワーク
127
130
  ``vagrant-sakura`` は ``config.vm.network`` を利用したネットワークの構築を
@@ -16,8 +16,8 @@ module VagrantPlugins
16
16
  end
17
17
 
18
18
  def call(env)
19
- server_name = env[:machine].name
20
- server_name ||= env[:machine].provider_config.server_name
19
+ server_name = env[:machine].provider_config.server_name
20
+ server_name ||= env[:machine].name
21
21
  server_plan = env[:machine].provider_config.server_plan
22
22
  disk_plan = env[:machine].provider_config.disk_plan
23
23
  disk_source_archive = env[:machine].provider_config.disk_source_archive
@@ -44,7 +44,7 @@ module VagrantPlugins
44
44
  "Connection" => "virtio",
45
45
  "SourceArchive" => {
46
46
  "ID" => disk_source_archive
47
- }
47
+ }
48
48
  }
49
49
  }
50
50
  response = api.post("/disk", data)
@@ -88,7 +88,7 @@ module VagrantPlugins
88
88
  end
89
89
 
90
90
  if @disk_source_archive == UNSET_VALUE
91
- @disk_source_archive = 112500459149 # Ubuntu Server 12.04.3 LTS 64bit
91
+ @disk_source_archive = 112800438454
92
92
  end
93
93
 
94
94
  @public_key_path = nil if @public_key_path == UNSET_VALUE
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Sakura
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-sakura
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomoyuki Sahara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-19 00:00:00.000000000 Z
11
+ date: 2016-05-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Enables Vagrant to manage machines in Sakura Cloud.
14
14
  email: