mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
add --force-confnew to pick automatically new config when updating packages for debians, this avoid interactive prompt issues
Fixes #5559
This commit is contained in:
parent
eb0075daf9
commit
f643fa2893
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ module ServiceTester
|
|||
def install(package, host=nil)
|
||||
hosts = (host.nil? ? servers : Array(host))
|
||||
at(hosts, {in: :serial}) do |_|
|
||||
cmd = sudo_exec!("dpkg -i #{package}")
|
||||
sudo_exec!("dpkg -i --force-confnew #{package}")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue