Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Skip any interactive post-install configuration steps when running first prepare command for Debian x86 #471

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/knife-solo/bootstraps/linux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def debianoid_gem_install

def debianoid_omnibus_install
run_command("sudo apt-get update")
run_command("sudo apt-get -y install rsync ca-certificates wget")
run_command("sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' --force-yes -f install rsync ca-certificates wget")
omnibus_install
end

Expand Down
4 changes: 4 additions & 0 deletions test/gemfiles/Gemfile.chef-10
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ gem 'chef', '~> 10'
platform :ruby_19 do
gem 'berkshelf-api-client', '~> 1.3.1'
gem 'varia_model', '~> 0.4.0'
gem 'tins', '~> 1.6.0'
gem 'json', '~> 1.8.1'
gem 'mixlib-config', '~> 1.1.2'
gem 'ohai', '~> 6.24.2'
end
1 change: 1 addition & 0 deletions test/gemfiles/Gemfile.chef-11
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ platform :ruby_19 do
gem 'berkshelf-api-client', '~> 1.3.1'
gem 'tins', '~> 1.6.0'
gem 'varia_model', '~> 0.4.0'
gem 'ohai', '~> 7.4.1'
end