veewee 0.1.19 → 0.1.20
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/veewee/command.rb +2 -1
- data/lib/veewee/session.rb +2 -8
- data/lib/veewee/version.rb +1 -1
- data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/auto_install/ai.dtd +0 -0
- data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/auto_install/ai_manifest.xml +0 -0
- data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/auto_install/configuration.dtd +0 -0
- data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/auto_install/default.xml +0 -0
- data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/auto_install/default.xml.orig +0 -0
- data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/auto_install/sc_profiles/static_network.xml +0 -0
- data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/auto_install/software.dtd +0 -0
- data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/auto_install/target.dtd +0 -0
- data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/default.xml +0 -0
- data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/definition.rb +0 -0
- data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/postinstall.sh +5 -0
- metadata +14 -14
data/Gemfile.lock
CHANGED
data/lib/veewee/command.rb
CHANGED
@@ -12,10 +12,11 @@ definition_dir= File.expand_path(File.join(veewee_dir, "definitions"))
|
|
12
12
|
tmp_dir=File.expand_path(File.join(veewee_dir, "tmp"))
|
13
13
|
iso_dir=File.expand_path(File.join(veewee_dir, "iso"))
|
14
14
|
box_dir=File.expand_path(File.join(veewee_dir, "boxes"))
|
15
|
+
validation_dir=File.expand_path(File.join(veewee_dir, "validation"))
|
15
16
|
|
16
17
|
#Initialize
|
17
18
|
Veewee::Session.setenv({:veewee_dir => veewee_dir, :definition_dir => definition_dir,
|
18
|
-
:template_dir => template_dir, :iso_dir => iso_dir, :box_dir => box_dir, :tmp_dir => tmp_dir})
|
19
|
+
:template_dir => template_dir, :iso_dir => iso_dir, :box_dir => box_dir, :tmp_dir => tmp_dir, :validation_dir => validation_dir})
|
19
20
|
|
20
21
|
module Veewee
|
21
22
|
class Command < Vagrant::Command::GroupBase
|
data/lib/veewee/session.rb
CHANGED
@@ -22,7 +22,7 @@ module Veewee
|
|
22
22
|
@veewee_dir=env[:veewee_dir]
|
23
23
|
@definition_dir=env[:definition_dir]
|
24
24
|
@template_dir=env[:template_dir]
|
25
|
-
@validation_dir=env[:
|
25
|
+
@validation_dir=env[:validation_dir]
|
26
26
|
@box_dir=env[:box_dir]
|
27
27
|
@iso_dir=env[:iso_dir]
|
28
28
|
@tmp_dir=env[:tmp_dir]
|
@@ -459,7 +459,7 @@ module Veewee
|
|
459
459
|
end
|
460
460
|
|
461
461
|
def self.create_vm(boxname,force=false)
|
462
|
-
|
462
|
+
|
463
463
|
#Verifying the os.id with the :os_type_id specified
|
464
464
|
matchfound=false
|
465
465
|
VirtualBox::Global.global.lib.virtualbox.guest_os_types.collect { |os|
|
@@ -500,12 +500,6 @@ module Veewee
|
|
500
500
|
#Exec and system stop the execution here
|
501
501
|
Veewee::Shell.execute("#{command}")
|
502
502
|
|
503
|
-
|
504
|
-
#Set a shared folder for validation
|
505
|
-
if !File.exists?(@validation_dir)
|
506
|
-
FileUtils.mkdir(File.expand_path(@validation_dir))
|
507
|
-
end
|
508
|
-
|
509
503
|
command="#{@vboxcmd} sharedfolder add '#{boxname}' --name 'veewee-validation' --hostpath '#{File.expand_path(@validation_dir)}' --automount"
|
510
504
|
|
511
505
|
Veewee::Shell.execute("#{command}")
|
data/lib/veewee/version.rb
CHANGED
data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/auto_install/ai.dtd
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/definition.rb
RENAMED
File without changes
|
data/templates/{solaris-11-express-i386-experimental → solaris-11-express-i386}/postinstall.sh
RENAMED
@@ -64,6 +64,11 @@ cd /tmp
|
|
64
64
|
/usr/bin/pkgtrans VirtualBox-4.0.6-SunOS-r71344.pkg . all
|
65
65
|
yes|/usr/sbin/pkgadd -d . SUNWvbox
|
66
66
|
|
67
|
+
# Fix the shells to include the /opt/csw directories
|
68
|
+
|
69
|
+
echo "export PATH=/opt/csw/bin:/opt/csw/sbin/:$PATH" >> /root/.profile
|
70
|
+
echo "export PATH=/opt/csw/bin:/opt/csw/sbin/:$PATH" >> /export/home/vagrant/.profile
|
71
|
+
|
67
72
|
exit
|
68
73
|
|
69
74
|
#Inspiration for ruby enterprise
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: veewee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 51
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 20
|
10
|
+
version: 0.1.20
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Patrick Debois
|
@@ -232,17 +232,17 @@ files:
|
|
232
232
|
- templates/freebsd-8.2-pcbsd-i386/definition.rb
|
233
233
|
- templates/freebsd-8.2-pcbsd-i386/pcinstall.fbg.cfg
|
234
234
|
- templates/freebsd-8.2-pcbsd-i386/postinstall.sh
|
235
|
-
- templates/solaris-11-express-i386
|
236
|
-
- templates/solaris-11-express-i386
|
237
|
-
- templates/solaris-11-express-i386
|
238
|
-
- templates/solaris-11-express-i386
|
239
|
-
- templates/solaris-11-express-i386
|
240
|
-
- templates/solaris-11-express-i386
|
241
|
-
- templates/solaris-11-express-i386
|
242
|
-
- templates/solaris-11-express-i386
|
243
|
-
- templates/solaris-11-express-i386
|
244
|
-
- templates/solaris-11-express-i386
|
245
|
-
- templates/solaris-11-express-i386
|
235
|
+
- templates/solaris-11-express-i386/auto_install/ai.dtd
|
236
|
+
- templates/solaris-11-express-i386/auto_install/ai_manifest.xml
|
237
|
+
- templates/solaris-11-express-i386/auto_install/configuration.dtd
|
238
|
+
- templates/solaris-11-express-i386/auto_install/default.xml
|
239
|
+
- templates/solaris-11-express-i386/auto_install/default.xml.orig
|
240
|
+
- templates/solaris-11-express-i386/auto_install/sc_profiles/static_network.xml
|
241
|
+
- templates/solaris-11-express-i386/auto_install/software.dtd
|
242
|
+
- templates/solaris-11-express-i386/auto_install/target.dtd
|
243
|
+
- templates/solaris-11-express-i386/default.xml
|
244
|
+
- templates/solaris-11-express-i386/definition.rb
|
245
|
+
- templates/solaris-11-express-i386/postinstall.sh
|
246
246
|
- templates/ubuntu-10.04.2-server-amd64/definition.rb
|
247
247
|
- templates/ubuntu-10.04.2-server-amd64/postinstall.sh
|
248
248
|
- templates/ubuntu-10.04.2-server-amd64/preseed.cfg
|