lib/capistrano/prun-ops.rb in prun-ops-0.2.18 vs lib/capistrano/prun-ops.rb in prun-ops-0.3.0

- old
+ new

@@ -20,6 +20,10 @@ ## Bastion config def bastion(host, user:) require 'net/ssh/proxy/command' ssh_command = "ssh -W %h:%p -o StrictHostKeyChecking=no #{user}@#{host}" set :ssh_options, proxy: Net::SSH::Proxy::Command.new(ssh_command) +end + +def apt_nointeractive + 'sudo DEBIAN_FRONTEND=noninteractive apt-get install -y' end \ No newline at end of file