vagrant-ovirt4 1.0.2 → 1.1.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/Gemfile +2 -1
- data/Gemfile.lock +11 -3
- data/LICENSE +22 -0
- data/README.md +24 -4
- data/docker-compose.yml +9 -0
- data/lib/vagrant-ovirt4/action/create_vm.rb +25 -2
- data/lib/vagrant-ovirt4/action/message_already_created.rb +16 -0
- data/lib/vagrant-ovirt4/action/resize_disk.rb +71 -0
- data/lib/vagrant-ovirt4/action/start_vm.rb +1 -6
- data/lib/vagrant-ovirt4/cap/nic_mac_addresses.rb +15 -0
- data/lib/vagrant-ovirt4/config.rb +26 -14
- data/lib/vagrant-ovirt4/version.rb +1 -1
- data/spec/vagrant-ovirt4/config_spec.rb +15 -11
- data/test.rb +3 -0
- data/tools/prepare_redhat_for_box.sh +6 -2
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06efacb9cd5bc8d26e60779d35eb749df58e67c7
|
4
|
+
data.tar.gz: f4af437a4d0a5271517ab889a2778a8ef48bce23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 450e1eaca5c4508127c18951ffe237b52991f4a0b3b85e833294d95ae4c04b3452b616442a13cf9008f1e35ffd0bcfff4f70faa100250e04043883b638fcb8cd
|
7
|
+
data.tar.gz: 99aff87c777092ca05e9fd4d5dbd31a4b0529dcf833214294c879b467c915c139767b5a2a517c63c1b0754fc046c562ef24d84f7bcc80e18e05256ef2e6f0dd2
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
vagrant-ovirt4 (1.0.
|
4
|
+
vagrant-ovirt4 (1.0.2)
|
5
5
|
ovirt-engine-sdk (~> 4.0, >= 4.0.6)
|
6
6
|
|
7
7
|
GEM
|
@@ -12,7 +12,7 @@ GEM
|
|
12
12
|
diff-lcs (1.3)
|
13
13
|
json (2.0.3)
|
14
14
|
method_source (0.8.2)
|
15
|
-
ovirt-engine-sdk (4.1.
|
15
|
+
ovirt-engine-sdk (4.1.2)
|
16
16
|
json
|
17
17
|
pry (0.10.4)
|
18
18
|
coderay (~> 1.1.0)
|
@@ -22,6 +22,10 @@ GEM
|
|
22
22
|
byebug (~> 9.0)
|
23
23
|
pry (~> 0.10)
|
24
24
|
rake (0.9.6)
|
25
|
+
rspec (3.5.0)
|
26
|
+
rspec-core (~> 3.5.0)
|
27
|
+
rspec-expectations (~> 3.5.0)
|
28
|
+
rspec-mocks (~> 3.5.0)
|
25
29
|
rspec-core (3.5.4)
|
26
30
|
rspec-support (~> 3.5.0)
|
27
31
|
rspec-expectations (3.5.0)
|
@@ -30,6 +34,9 @@ GEM
|
|
30
34
|
rspec-its (1.2.0)
|
31
35
|
rspec-core (>= 3.0.0)
|
32
36
|
rspec-expectations (>= 3.0.0)
|
37
|
+
rspec-mocks (3.5.0)
|
38
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
39
|
+
rspec-support (~> 3.5.0)
|
33
40
|
rspec-support (3.5.0)
|
34
41
|
slop (3.6.0)
|
35
42
|
|
@@ -41,8 +48,9 @@ DEPENDENCIES
|
|
41
48
|
pry
|
42
49
|
pry-byebug
|
43
50
|
rake
|
51
|
+
rspec
|
44
52
|
rspec-its
|
45
53
|
vagrant-ovirt4!
|
46
54
|
|
47
55
|
BUNDLED WITH
|
48
|
-
1.
|
56
|
+
1.14.4
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Marcus Young
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -72,6 +72,19 @@ Vagrant.configure("2") do |config|
|
|
72
72
|
ovirt.cluster = 'Default'
|
73
73
|
ovirt.template = 'Vagrant-Centos7-test'
|
74
74
|
ovirt.console = 'vnc'
|
75
|
+
ovirt.memory_size = 512 #MB
|
76
|
+
ovirt.memory_guaranteed = 256 #MB
|
77
|
+
ovirt.cpu_cores = 2
|
78
|
+
ovirt.cpu_sockets = 2
|
79
|
+
ovirt.cpu_threads = 2
|
80
|
+
ovirt.cloud_init =<<EOF
|
81
|
+
write_files:
|
82
|
+
- content: |
|
83
|
+
Hello, world!
|
84
|
+
path: /tmp/greeting.txt
|
85
|
+
permissions: '0644'
|
86
|
+
EOF
|
87
|
+
|
75
88
|
end
|
76
89
|
end
|
77
90
|
```
|
@@ -93,16 +106,19 @@ end
|
|
93
106
|
1. `password` => The password for the API. Required. String. No default value.
|
94
107
|
1. `insecure` => Allow connecting to SSL sites without certificates. Optional. Bool. Default is `false`
|
95
108
|
1. `debug` => Turn on additional log statements. Optional. Bool. Default is `false`.
|
96
|
-
1. `cpus` => Number of CPUs to use for the VM. Optional. Integer. Default is `1`.
|
97
|
-
a. Note: (TODO) [Unknown usage](https://github.com/myoung34/vagrant-ovirt4/issues/26)
|
98
109
|
1. `datacenter` => The name of the ovirt datacenter to create within. Required. String. No Default value.
|
99
110
|
a. Note: (TODO) [Unknown usage](https://github.com/myoung34/vagrant-ovirt4/issues/26)
|
100
111
|
1. `template` => The name of the template to use for creation. Required. String. No Default value.
|
101
|
-
1. `memory` => The amount of RAM to use.
|
102
|
-
a. Note: (TODO) [Unknown usage/defaults](https://github.com/myoung34/vagrant-ovirt4/issues/26)
|
103
112
|
1. `cluster` => The name of the ovirt cluster to create within. Required. String. No Default value.
|
104
113
|
1. `console` => The type of remote viewing protocol to use. Required. String. No Default value.
|
105
114
|
a. Note: (TODO) Enforce this to be Spice, VNC, and RDP
|
115
|
+
1. `memory_size` => The physical size of the memory for the VM (in MB). Defaults to `256`
|
116
|
+
1. `memory_guaranteed` => The guaranteed size of the memory for the VM (in MB). Note: cannot be larger than `memory_size`. Defaults to `memory_size`
|
117
|
+
1. `cpu_cores` => The number of CPU cores. Defaults to `1`
|
118
|
+
1. `cpu_sockets` => The number of CPU cores. Defaults to `1`
|
119
|
+
1. `cpu_threads` => The number of CPU threads. Defaults to `1`
|
120
|
+
1. `cloud_init` => The cloud-init data to pass. Must be properly formatted as yaml. [Docs here](http://cloudinit.readthedocs.io/en/latest/topics/examples.html)
|
121
|
+
|
106
122
|
|
107
123
|
## Contributing
|
108
124
|
|
@@ -111,3 +127,7 @@ end
|
|
111
127
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
112
128
|
4. Push to the branch (`git push origin my-new-feature`)
|
113
129
|
5. Create new Pull Request
|
130
|
+
|
131
|
+
## Contributing Notes
|
132
|
+
|
133
|
+
1. You must comment out `gemspec` in the [Gemfile](Gemfile), uncomment `vagrant` and `plugins/vagrant-ovirt4` in order for `bundle install` to work and use live code. Not sure why. Too lazy to figure it out.
|
data/docker-compose.yml
ADDED
@@ -20,19 +20,42 @@ module VagrantPlugins
|
|
20
20
|
hostname = 'vagrant' if hostname.nil?
|
21
21
|
|
22
22
|
# Output the settings we're going to use to the user
|
23
|
+
memory_size = config.memory_size*1024*1024
|
24
|
+
memory_guaranteed = config.memory_guaranteed*1024*1024
|
23
25
|
env[:ui].info(I18n.t("vagrant_ovirt4.creating_vm"))
|
24
26
|
env[:ui].info(" -- Name: #{hostname}")
|
25
27
|
env[:ui].info(" -- Cluster: #{config.cluster}")
|
26
28
|
env[:ui].info(" -- Template: #{config.template}")
|
27
29
|
env[:ui].info(" -- Console Type: #{config.console}")
|
30
|
+
env[:ui].info(" -- Memory: ")
|
31
|
+
env[:ui].info(" ---- Memory: #{config.memory_size}")
|
32
|
+
env[:ui].info(" ---- Guaranteed: #{config.memory_guaranteed}")
|
33
|
+
env[:ui].info(" -- Cpu: ")
|
34
|
+
env[:ui].info(" ---- Cores: #{config.cpu_cores}")
|
35
|
+
env[:ui].info(" ---- Sockets: #{config.cpu_sockets}")
|
36
|
+
env[:ui].info(" ---- Threads: #{config.cpu_threads}")
|
37
|
+
env[:ui].info(" -- Cloud-Init: #{!config.cloud_init.nil? }")
|
28
38
|
|
29
39
|
# Create oVirt VM.
|
30
40
|
attr = {
|
31
41
|
:name => hostname,
|
42
|
+
:cpu => {
|
43
|
+
:architecture => 'x86_64',
|
44
|
+
:topology => {
|
45
|
+
:cores => config.cpu_cores,
|
46
|
+
:sockets => config.cpu_sockets,
|
47
|
+
:threads => config.cpu_threads,
|
48
|
+
},
|
49
|
+
},
|
50
|
+
:memory => memory_size,
|
51
|
+
:memory_policy => {
|
52
|
+
:ballooning => true,
|
53
|
+
:guaranteed => memory_guaranteed,
|
54
|
+
},
|
32
55
|
:cluster => {
|
33
56
|
:name => config.cluster,
|
34
57
|
},
|
35
|
-
:template
|
58
|
+
:template => {
|
36
59
|
:name => config.template,
|
37
60
|
},
|
38
61
|
:display => {
|
@@ -43,7 +66,7 @@ module VagrantPlugins
|
|
43
66
|
begin
|
44
67
|
server = env[:vms_service].add(attr)
|
45
68
|
rescue OvirtSDK4::Error => e
|
46
|
-
fault_message = /Fault detail is \"\[?(
|
69
|
+
fault_message = /Fault detail is \"\[?(.+?)\]?\".*/.match(e.message)[1] rescue e.message
|
47
70
|
raise Errors::CreateVMError,
|
48
71
|
:error_message => fault_message
|
49
72
|
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module VagrantPlugins
|
2
|
+
module OVirtProvider
|
3
|
+
module Action
|
4
|
+
class MessageAlreadyCreated
|
5
|
+
def initialize(app, env)
|
6
|
+
@app = app
|
7
|
+
end
|
8
|
+
|
9
|
+
def call(env)
|
10
|
+
env[:ui].info(I18n.t("vagrant_ovirt4.already_created"))
|
11
|
+
@app.call(env)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
require 'log4r'
|
2
|
+
require 'vagrant/util/scoped_hash_override'
|
3
|
+
|
4
|
+
module VagrantPlugins
|
5
|
+
module OVirtProvider
|
6
|
+
module Action
|
7
|
+
# Resize the disk if necessary, before VM is running.
|
8
|
+
class ResizeDisk
|
9
|
+
include Vagrant::Util::ScopedHashOverride
|
10
|
+
|
11
|
+
def initialize(app, env)
|
12
|
+
@logger = Log4r::Logger.new("vagrant_ovirt::action::resize_disk")
|
13
|
+
@app = app
|
14
|
+
end
|
15
|
+
|
16
|
+
def call(env)
|
17
|
+
# Is it necessary to resize the disk?
|
18
|
+
config = env[:machine].provider_config
|
19
|
+
if config.disk_size.nil?
|
20
|
+
# Nothing to do
|
21
|
+
@app.call(env)
|
22
|
+
return
|
23
|
+
end
|
24
|
+
|
25
|
+
# Get machine first.
|
26
|
+
begin
|
27
|
+
machine = OVirtProvider::Util::Collection.find_matching(
|
28
|
+
env[:ovirt_compute].servers.all, env[:machine].id.to_s)
|
29
|
+
rescue => e
|
30
|
+
raise Errors::NoVMError,
|
31
|
+
:vm_name => env[:machine].id.to_s
|
32
|
+
end
|
33
|
+
|
34
|
+
# Extend disk size if necessary
|
35
|
+
begin
|
36
|
+
machine.update_volume(
|
37
|
+
:id => machine.volumes.first.id,
|
38
|
+
:size => config.disk_size*1024*1024*1024,
|
39
|
+
)
|
40
|
+
rescue => e
|
41
|
+
raise Errors::UpdateVolumeError,
|
42
|
+
:error_message => e.message
|
43
|
+
end
|
44
|
+
|
45
|
+
# Wait till all volumes are ready.
|
46
|
+
env[:ui].info(I18n.t("vagrant_ovirt4.wait_for_ready_volume"))
|
47
|
+
for i in 0..10
|
48
|
+
ready = true
|
49
|
+
machine = env[:ovirt_compute].servers.get(env[:machine].id.to_s)
|
50
|
+
machine.volumes.each do |volume|
|
51
|
+
if volume.status != 'ok'
|
52
|
+
ready = false
|
53
|
+
break
|
54
|
+
end
|
55
|
+
end
|
56
|
+
break if ready
|
57
|
+
sleep 2
|
58
|
+
end
|
59
|
+
|
60
|
+
if not ready
|
61
|
+
raise Errors::WaitForReadyResizedVolumeTimeout
|
62
|
+
end
|
63
|
+
|
64
|
+
@app.call(env)
|
65
|
+
end
|
66
|
+
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
@@ -31,11 +31,6 @@ module VagrantPlugins
|
|
31
31
|
iface_options = scoped_hash_override(options, :ovirt)
|
32
32
|
end
|
33
33
|
|
34
|
-
my_script = ""
|
35
|
-
#runcmd:
|
36
|
-
# - [ service, network, restart]
|
37
|
-
#"
|
38
|
-
|
39
34
|
hostname = env[:machine].config.vm.hostname
|
40
35
|
hostname = 'vagrant' if hostname.nil?
|
41
36
|
|
@@ -63,7 +58,7 @@ module VagrantPlugins
|
|
63
58
|
initialization: {
|
64
59
|
host_name: hostname,
|
65
60
|
nic_configurations: [nic_configuration],
|
66
|
-
custom_script:
|
61
|
+
custom_script: env[:machine].provider_config.cloud_init,
|
67
62
|
}
|
68
63
|
}
|
69
64
|
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# vim: ai ts=2 sts=2 et sw=2 ft=ruby
|
2
|
+
module VagrantPlugins
|
3
|
+
module OVirtProvider
|
4
|
+
module Cap
|
5
|
+
module NicMacAddresses
|
6
|
+
def self.nic_mac_addresses(machine)
|
7
|
+
ovirt = OVirtProvider.ovirt_connection
|
8
|
+
interfaces = ovirt.list_vm_interfaces(machine.id.to_s)
|
9
|
+
Hash[interfaces.map{ |i| [i[:name], i[:mac]] }]
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
@@ -9,23 +9,31 @@ module VagrantPlugins
|
|
9
9
|
attr_accessor :password
|
10
10
|
attr_accessor :insecure
|
11
11
|
attr_accessor :debug
|
12
|
-
attr_accessor :
|
12
|
+
attr_accessor :cpu_cores
|
13
|
+
attr_accessor :cpu_sockets
|
14
|
+
attr_accessor :cpu_threads
|
13
15
|
attr_accessor :template
|
14
|
-
attr_accessor :
|
16
|
+
attr_accessor :memory_size
|
17
|
+
attr_accessor :memory_guaranteed
|
15
18
|
attr_accessor :cluster
|
16
19
|
attr_accessor :console
|
20
|
+
attr_accessor :cloud_init
|
17
21
|
|
18
22
|
def initialize
|
19
|
-
@url
|
20
|
-
@username
|
21
|
-
@password
|
22
|
-
@insecure
|
23
|
-
@debug
|
24
|
-
@
|
25
|
-
@
|
26
|
-
@
|
27
|
-
@
|
28
|
-
@
|
23
|
+
@url = UNSET_VALUE
|
24
|
+
@username = UNSET_VALUE
|
25
|
+
@password = UNSET_VALUE
|
26
|
+
@insecure = UNSET_VALUE
|
27
|
+
@debug = UNSET_VALUE
|
28
|
+
@cpu_cores = UNSET_VALUE
|
29
|
+
@cpu_sockets = UNSET_VALUE
|
30
|
+
@cpu_threads = UNSET_VALUE
|
31
|
+
@template = UNSET_VALUE
|
32
|
+
@memory_size = UNSET_VALUE
|
33
|
+
@memory_guaranteed = UNSET_VALUE
|
34
|
+
@cluster = UNSET_VALUE
|
35
|
+
@console = UNSET_VALUE
|
36
|
+
@cloud_init = UNSET_VALUE
|
29
37
|
|
30
38
|
end
|
31
39
|
|
@@ -35,11 +43,15 @@ module VagrantPlugins
|
|
35
43
|
@password = nil if @password == UNSET_VALUE
|
36
44
|
@insecure = false if @insecure == UNSET_VALUE
|
37
45
|
@debug = false if @debug == UNSET_VALUE
|
38
|
-
@
|
46
|
+
@cpu_cores = 1 if @cpu_cores == UNSET_VALUE
|
47
|
+
@cpu_sockets = 1 if @cpu_sockets == UNSET_VALUE
|
48
|
+
@cpu_threads = 1 if @cpu_threads == UNSET_VALUE
|
39
49
|
@cluster = nil if @cluster == UNSET_VALUE
|
40
50
|
@console = nil if @console == UNSET_VALUE
|
41
|
-
@
|
51
|
+
@memory_size = 256 if @memory_size == UNSET_VALUE
|
52
|
+
@memory_guaranteed = @memory_size if @memory_guaranteed == UNSET_VALUE
|
42
53
|
@template = nil if @template == UNSET_VALUE
|
54
|
+
@cloud_init = nil if @cloud_init == UNSET_VALUE
|
43
55
|
|
44
56
|
end
|
45
57
|
|
@@ -28,21 +28,25 @@ describe VagrantPlugins::OVirtProvider::Config do
|
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
31
|
-
its("url")
|
32
|
-
its("username")
|
33
|
-
its("password")
|
34
|
-
its("insecure")
|
35
|
-
its("debug")
|
36
|
-
its("
|
37
|
-
its("
|
38
|
-
its("
|
39
|
-
its("
|
40
|
-
its("
|
31
|
+
its("url") { should be_nil }
|
32
|
+
its("username") { should be_nil }
|
33
|
+
its("password") { should be_nil }
|
34
|
+
its("insecure") { should == false }
|
35
|
+
its("debug") { should == false }
|
36
|
+
its("cpu_cores") { should == 1 }
|
37
|
+
its("cpu_sockets") { should == 1 }
|
38
|
+
its("cpu_threads") { should == 1 }
|
39
|
+
its("cluster") { should be_nil }
|
40
|
+
its("console") { should be_nil }
|
41
|
+
its("template") { should be_nil }
|
42
|
+
its("memory_size") { should == 256 }
|
43
|
+
its("memory_guaranteed") { should == 256 }
|
44
|
+
its("cloud_init") { should be_nil }
|
41
45
|
|
42
46
|
end
|
43
47
|
|
44
48
|
describe "overriding defaults" do
|
45
|
-
[:url, :username, :password, :insecure, :debug, :
|
49
|
+
[:url, :username, :password, :insecure, :debug, :cpu_cores, :cpu_sockets, :cpu_threads, :cluster, :console, :template, :memory_size, :memory_guaranteed, :cloud_init].each do |attribute|
|
46
50
|
|
47
51
|
it "should not default #{attribute} if overridden" do
|
48
52
|
instance.send("#{attribute}=".to_sym, "foo")
|
data/test.rb
ADDED
@@ -27,7 +27,7 @@ echo "* Found RedHat ${RHEL_MAJOR_VERSION} version."
|
|
27
27
|
|
28
28
|
ATOMIC=false
|
29
29
|
which yum >/dev/null 2>&1
|
30
|
-
[[ $? -
|
30
|
+
[[ $? -ne 0 ]] && ATOMIC=true
|
31
31
|
|
32
32
|
# Setup hostname vagrant-something.
|
33
33
|
FQDN="$1.vagrantup.com"
|
@@ -40,6 +40,9 @@ fi
|
|
40
40
|
|
41
41
|
# Enable EPEL and Puppet repositories.
|
42
42
|
if [[ $ATOMIC != "true" ]]; then
|
43
|
+
yum install -y epel-release
|
44
|
+
yum install -y ovirt-guest-agent-common
|
45
|
+
for i in cloud-init ovirt-guest-agent; do chkconfig $i on; done
|
43
46
|
if [[ $RHEL_MAJOR_VERSION -eq 5 ]]; then
|
44
47
|
yum install -y \
|
45
48
|
http://ftp.astral.ro/mirrors/fedora/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm \
|
@@ -61,7 +64,8 @@ fi
|
|
61
64
|
# Install some required software.
|
62
65
|
if [[ $ATOMIC != "true" ]]; then
|
63
66
|
yum -y install openssh-server openssh-clients sudo curl \
|
64
|
-
ruby ruby-devel make gcc rubygems rsync puppet ovirt-guest-agent cloud-init
|
67
|
+
ruby ruby-devel make gcc rubygems rsync puppet ovirt-guest-agent cloud-init \
|
68
|
+
iptables-services net-tools
|
65
69
|
fi
|
66
70
|
|
67
71
|
chkconfig sshd on
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-ovirt4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcus Young
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ovirt-engine-sdk
|
@@ -41,8 +41,10 @@ files:
|
|
41
41
|
- ".rspec"
|
42
42
|
- Gemfile
|
43
43
|
- Gemfile.lock
|
44
|
+
- LICENSE
|
44
45
|
- README.md
|
45
46
|
- Rakefile
|
47
|
+
- docker-compose.yml
|
46
48
|
- example_box/README.md
|
47
49
|
- example_box/Vagrantfile
|
48
50
|
- example_box/dummy.box
|
@@ -56,6 +58,7 @@ files:
|
|
56
58
|
- lib/vagrant-ovirt4/action/halt_vm.rb
|
57
59
|
- lib/vagrant-ovirt4/action/is_created.rb
|
58
60
|
- lib/vagrant-ovirt4/action/is_running.rb
|
61
|
+
- lib/vagrant-ovirt4/action/message_already_created.rb
|
59
62
|
- lib/vagrant-ovirt4/action/message_already_up.rb
|
60
63
|
- lib/vagrant-ovirt4/action/message_not_created.rb
|
61
64
|
- lib/vagrant-ovirt4/action/message_not_suspended.rb
|
@@ -64,6 +67,7 @@ files:
|
|
64
67
|
- lib/vagrant-ovirt4/action/message_saving_state.rb
|
65
68
|
- lib/vagrant-ovirt4/action/read_ssh_info.rb
|
66
69
|
- lib/vagrant-ovirt4/action/read_state.rb
|
70
|
+
- lib/vagrant-ovirt4/action/resize_disk.rb
|
67
71
|
- lib/vagrant-ovirt4/action/set_name_of_domain.rb
|
68
72
|
- lib/vagrant-ovirt4/action/snapshot_delete.rb
|
69
73
|
- lib/vagrant-ovirt4/action/snapshot_list.rb
|
@@ -74,6 +78,7 @@ files:
|
|
74
78
|
- lib/vagrant-ovirt4/action/wait_til_suspended.rb
|
75
79
|
- lib/vagrant-ovirt4/action/wait_till_down.rb
|
76
80
|
- lib/vagrant-ovirt4/action/wait_till_up.rb
|
81
|
+
- lib/vagrant-ovirt4/cap/nic_mac_addresses.rb
|
77
82
|
- lib/vagrant-ovirt4/cap/snapshot_list.rb
|
78
83
|
- lib/vagrant-ovirt4/cap/snapshot_save.rb
|
79
84
|
- lib/vagrant-ovirt4/config.rb
|
@@ -97,6 +102,7 @@ files:
|
|
97
102
|
- spec/vagrant-ovirt4/action/read_ssh_info_spec.rb
|
98
103
|
- spec/vagrant-ovirt4/action/read_state_spec.rb
|
99
104
|
- spec/vagrant-ovirt4/config_spec.rb
|
105
|
+
- test.rb
|
100
106
|
- tools/prepare_redhat_for_box.sh
|
101
107
|
- vagrant-ovirt4.gemspec
|
102
108
|
homepage: https://github.com/myoung34/vagrant-ovirt4
|
@@ -119,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
125
|
version: '0'
|
120
126
|
requirements: []
|
121
127
|
rubyforge_project:
|
122
|
-
rubygems_version: 2.
|
128
|
+
rubygems_version: 2.6.10
|
123
129
|
signing_key:
|
124
130
|
specification_version: 4
|
125
131
|
summary: This vagrant plugin provides the ability to create, control, and destroy
|