Simple Ubuntu / Debian Patcher, relies on authorized keys being setup correctly.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|# Jacob Hammack <firstname.lastname@example.org>|
|HOSTS.each do |host||
|Net::SSH.start(host, 'root') do |ssh||
|ssh.exec "apt-get update"|
|ssh.exec "apt-get upgrade -y"|
|ssh.exec "apt-get autoremove"|