boxgrinder-ubuntu-plugin 0.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -60,7 +60,7 @@ https://github.com/rubiojr/boxgrinder-appliances/tree/master/ubuntu-natty
60
60
 
61
61
  The Ubuntu plugin is still in alpha stage. If you find issues with it, please mailme, open an issue or submit a pull request ;)
62
62
 
63
- Some stuff (like executing post commands) is missing.
63
+ Some stuff is probably missing.
64
64
 
65
65
  Creating Fedora/RHEL/CentOS appliances under Ubuntu won't work.
66
66
 
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'rake'
6
6
  require 'jeweler'
7
7
  Jeweler::Tasks.new do |gem|
8
8
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
9
- gem.version = '0.2'
9
+ gem.version = '0.2.1'
10
10
  gem.name = "boxgrinder-ubuntu-plugin"
11
11
  gem.homepage = "http://github.com/rubiojr/boxgrinder-ubuntu-plugin"
12
12
  gem.license = "MIT"
@@ -8,7 +8,7 @@ module BoxGrinder
8
8
  register_deliverable(
9
9
  :disk => "#{@appliance_config.name}-sda.qcow2"
10
10
  )
11
- register_supported_os('ubuntu', ["natty"])
11
+ register_supported_os('ubuntu', ["lucid", "maveric", "natty", "oneiric"])
12
12
  end
13
13
 
14
14
  def execute(appliance_definition_file)
@@ -49,12 +49,12 @@ module BoxGrinder
49
49
  commands_file = @dir.tmp + "/commands"
50
50
  unless @appliance_config.post['base'].nil?
51
51
  clist = File.open(commands_file, 'w') do |cl|
52
+ @log.debug "Creating Post commands script."
52
53
  cl.puts "#!/bin/sh"
53
- @log.info "Executing post operations after build..."
54
54
  @appliance_config.post['base'].each do |cmd|
55
+ @log.debug "Adding command chroot $1 #{cmd} to script."
55
56
  cl.puts "chroot $1 #{cmd}"
56
57
  end
57
- @log.debug "Post commands from appliance definition file executed."
58
58
  end
59
59
  File.chmod(0744, commands_file)
60
60
  return commands_file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxgrinder-ubuntu-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: