mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 15:17:52 -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
a0db616fca
commit
1fa83b99dd
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