Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update bootstrap template name in knife plugin
  • Loading branch information
xdissent committed Apr 12, 2012
1 parent 154fecf commit d4006bf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .chef/plugins/knife/hatch.rb
Expand Up @@ -106,7 +106,7 @@ class Hatch < Chef::Knife
:long => "--distro DISTRO",
:description => "Bootstrap a distro using a template",
:proc => Proc.new { |d| Chef::Config[:knife][:distro] = d },
:default => "ubuntu10.04-gems"
:default => "ubuntu-gems-hatch"

option :template_file,
:long => "--template-file TEMPLATE",
Expand Down Expand Up @@ -337,8 +337,6 @@ def bootstrap_for_node(server, ssh_address)
bootstrap.config[:environment] = config[:environment]
# may be needed for vpc_mode
bootstrap.config[:no_host_key_verify] = config[:no_host_key_verify]
# Always use hatch distro
bootstrap.config[:distro] = 'ubuntu10.04-gems-hatch'

# Package files to send
puts "#{ui.color("Creating temporary directory", :cyan)}"
Expand Down

0 comments on commit d4006bf

Please sign in to comment.