On 04/30/11 05:53, David Steiner wrote: > can the upgrade process via bsd.rd be automated? i'm thinking of > upgrading remote machines, which are only available via ssh . > > like this: fetch the latest bsd.rd from ftp. replace /bsd.rd. > echo 'boot bsd.rd' >> /etc/boot.conf > reboot > > from here on, i'd like to automate the upgrade process, by proving > standard answers to the questions.
um... bsd.rd assumes console. If you want to do a remote upgrade, how about using the (shudder) *suggested* process in the upgradeXX.html docs? I think that process lends itself much better to scripting and automating then a roll-your-own custom kernel. Keep in mind, most of the steps in that document have to be followed with a bsd.rd upgrade, too. http://www.openbsd.org/faq/upgrade49.html Nick.