vagrant-sakura 0.3.2 → 0.4.0
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +5 -0
- data/examples/centos.md +1 -1
- data/examples/centos7.md +15 -0
- data/examples/centos8.md +15 -0
- data/examples/k3os.md +16 -0
- data/examples/rancheros.md +4 -1
- data/lib/vagrant-sakura/os_type.rb +20 -5
- data/lib/vagrant-sakura/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff62058f6d3ce51b240bbdad45b0fe7f9942394cb52a5df629f535a7bc9e9184
|
4
|
+
data.tar.gz: f03df4f5117fc2451e9609365e880d8cf8c698c46a360d678fac0efb20c9a8dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b27a402df3a7561cc214d1c9018b82ab2c9f4c32787c42b33389196d987fcaab93cb62e3f314af9ea0717374f17da38f3e5bdbbaab65d794ac205415058e3eab
|
7
|
+
data.tar.gz: 1e77021af5c82b5b8fc15ca335181ea44f3275c34863cfd57db58258b31936fcb823296dc6689c4c408d54529f0856bb4241628217c3dc6ce6344a9ced99cfa0
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -187,11 +187,16 @@ $ vagrant sakura-list-id
|
|
187
187
|
|`ubuntu-18.04`|`ubuntu`| - | - |
|
188
188
|
|`ubuntu-16.04`|`ubuntu`| - | - |
|
189
189
|
|`centos`|`root`| [example](examples/centos.md) | - |
|
190
|
+
|`centos8`|`root`| [example](examples/centos8.md) | - |
|
191
|
+
|`centos7`|`root`| [example](examples/centos7.md) | - |
|
190
192
|
|`centos6`|`root`| [example](examples/centos6.md) | - |
|
191
193
|
|`debian`|`root`| [example](examples/debian.md) | - |
|
194
|
+
|`debian10`|`root`| - | - |
|
195
|
+
|`debian9`|`root`| - | - |
|
192
196
|
|`coreos`|`core`| [example](examples/coreos.md) | - |
|
193
197
|
|`freebsd`|`root`| [example](examples/freebsd.md) | - |
|
194
198
|
|`rancheros`|`rancher`| [example](examples/rancheros.md) | メモリ2GB以上のプランが必要 |
|
199
|
+
|`k3os`|`rancher`| [example](examples/k3os.md) | - |
|
195
200
|
|
196
201
|
- ``disk_source_archive`` - サーバで利用するディスクのベースとするアーカイブのID (※`os_type`とは同時に指定できません)
|
197
202
|
- ``server_name`` - サーバ名
|
data/examples/centos.md
CHANGED
data/examples/centos7.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Vagrantfileの例(CentOS7を利用する場合)
|
2
|
+
|
3
|
+
```bash
|
4
|
+
Vagrant.configure("2") do |config|
|
5
|
+
config.vm.box = "dummy"
|
6
|
+
config.ssh.username = "root"
|
7
|
+
|
8
|
+
config.vm.provider :sakura do |sakura, override|
|
9
|
+
sakura.os_type = "centos7"
|
10
|
+
|
11
|
+
sakura.public_key_path = File.expand_path("~/.ssh/id_rsa.pub")
|
12
|
+
override.ssh.private_key_path = File.expand_path("~/.ssh/id_rsa")
|
13
|
+
end
|
14
|
+
end
|
15
|
+
```
|
data/examples/centos8.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Vagrantfileの例(CentOS8を利用する場合)
|
2
|
+
|
3
|
+
```bash
|
4
|
+
Vagrant.configure("2") do |config|
|
5
|
+
config.vm.box = "dummy"
|
6
|
+
config.ssh.username = "root"
|
7
|
+
|
8
|
+
config.vm.provider :sakura do |sakura, override|
|
9
|
+
sakura.os_type = "centos8"
|
10
|
+
|
11
|
+
sakura.public_key_path = File.expand_path("~/.ssh/id_rsa.pub")
|
12
|
+
override.ssh.private_key_path = File.expand_path("~/.ssh/id_rsa")
|
13
|
+
end
|
14
|
+
end
|
15
|
+
```
|
data/examples/k3os.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# Vagrantfileの例(k3OSを利用する場合)
|
2
|
+
|
3
|
+
```bash
|
4
|
+
Vagrant.configure("2") do |config|
|
5
|
+
config.vm.box = "dummy"
|
6
|
+
config.ssh.username = "rancher"
|
7
|
+
config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true
|
8
|
+
|
9
|
+
config.vm.provider :sakura do |sakura, override|
|
10
|
+
sakura.os_type = "k3os"
|
11
|
+
|
12
|
+
sakura.public_key_path = File.expand_path("~/.ssh/id_rsa.pub")
|
13
|
+
override.ssh.private_key_path = File.expand_path("~/.ssh/id_rsa")
|
14
|
+
end
|
15
|
+
end
|
16
|
+
```
|
data/examples/rancheros.md
CHANGED
@@ -8,7 +8,10 @@ Vagrant.configure("2") do |config|
|
|
8
8
|
|
9
9
|
config.vm.provider :sakura do |sakura, override|
|
10
10
|
sakura.os_type = "rancheros"
|
11
|
-
|
11
|
+
|
12
|
+
# 2core/4GBメモリ プラン
|
13
|
+
sakura.server_core = 2
|
14
|
+
sakura.server_memory = 4
|
12
15
|
|
13
16
|
sakura.public_key_path = File.expand_path("~/.ssh/id_rsa.pub")
|
14
17
|
override.ssh.private_key_path = File.expand_path("~/.ssh/id_rsa")
|
@@ -5,27 +5,42 @@ module VagrantPlugins
|
|
5
5
|
"centos" => {
|
6
6
|
"Tags.Name" => [%w(current-stable distro-centos)]
|
7
7
|
},
|
8
|
+
"centos8" => {
|
9
|
+
"Tags.Name" => [%w(centos-8-latest)]
|
10
|
+
},
|
11
|
+
"centos7" => {
|
12
|
+
"Tags.Name" => [%w(centos-7-latest)]
|
13
|
+
},
|
8
14
|
"centos6" => {
|
9
|
-
"Tags.Name" => [%w(
|
15
|
+
"Tags.Name" => [%w(centos-6-latest)]
|
10
16
|
},
|
11
17
|
"ubuntu" => {
|
12
18
|
"Tags.Name" => [%w(current-stable distro-ubuntu)]
|
13
19
|
},
|
14
|
-
"ubuntu-16.04" => {
|
15
|
-
"Tags.Name" => [%w(distro-ubuntu distro-ver-16.04.4)]
|
16
|
-
},
|
17
20
|
"ubuntu-18.04" => {
|
18
|
-
"Tags.Name" => [%w(
|
21
|
+
"Tags.Name" => [%w(ubuntu-18.04-latest)]
|
22
|
+
},
|
23
|
+
"ubuntu-16.04" => {
|
24
|
+
"Tags.Name" => [%w(ubuntu-16.04-latest)]
|
19
25
|
},
|
20
26
|
"debian" => {
|
21
27
|
"Tags.Name" => [%w(current-stable distro-debian)]
|
22
28
|
},
|
29
|
+
"debian10" => {
|
30
|
+
"Tags.Name" => [%w(debian-10-latest)]
|
31
|
+
},
|
32
|
+
"debian9" => {
|
33
|
+
"Tags.Name" => [%w(debian-9-latest)]
|
34
|
+
},
|
23
35
|
"coreos" => {
|
24
36
|
"Tags.Name" => [%w(current-stable distro-coreos)]
|
25
37
|
},
|
26
38
|
"rancheros" => {
|
27
39
|
"Tags.Name" => [%w(current-stable distro-rancheros)]
|
28
40
|
},
|
41
|
+
"k3os" => {
|
42
|
+
"Tags.Name" => [%w(current-stable distro-k3os)]
|
43
|
+
},
|
29
44
|
"freebsd" => {
|
30
45
|
"Tags.Name" => [%w(current-stable distro-freebsd)]
|
31
46
|
},
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-sakura
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomoyuki Sahara
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-11-21 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Enables Vagrant to manage machines in Sakura Cloud.
|
15
15
|
email:
|
@@ -31,9 +31,12 @@ files:
|
|
31
31
|
- example_box/metadata.json
|
32
32
|
- examples/centos.md
|
33
33
|
- examples/centos6.md
|
34
|
+
- examples/centos7.md
|
35
|
+
- examples/centos8.md
|
34
36
|
- examples/coreos.md
|
35
37
|
- examples/debian.md
|
36
38
|
- examples/freebsd.md
|
39
|
+
- examples/k3os.md
|
37
40
|
- examples/rancheros.md
|
38
41
|
- examples/ubuntu.md
|
39
42
|
- lib/vagrant-sakura.rb
|
@@ -88,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
91
|
version: '0'
|
89
92
|
requirements: []
|
90
93
|
rubyforge_project:
|
91
|
-
rubygems_version: 2.7.
|
94
|
+
rubygems_version: 2.7.7
|
92
95
|
signing_key:
|
93
96
|
specification_version: 4
|
94
97
|
summary: Enables Vagrant to manage machines in Sakura Cloud.
|