|
From: Dominic R. <dl...@ed...> - 2010-10-08 11:31:09
|
Ah, that's clever, and changing grub.conf is better than my syslinux / 2-USB-drive suggestion. Could all be done on the real remote machine (and could even be 'automated') if upgrade script ran under the old release before rebooting, as Serge suggests. Dominic On 08/10/2010 08:57, Frank Weis wrote: > Hi, > > I have done remote updates in the past, but it is a fiddly task... > > Regarding the config part, I fetched a copy of etc.tar.gz (as it was > called at the time), and did the interactive update locally on another > machine. > > I then copied the new bootcd.iso and etc.tar.gz to the remote firewall > on a second partition of the CF-Card. I'd create an entry in grub.conf > that would use the new config and bootcd.iso using the DL_xxx boot > parameters, and mark this entry as default. > > Finally I would reboot and have remote person standby to revert to the > 'safe' grub entry in case anything went wrong.. > > > These days, I prefer to create entirely new CF-Cards and send them over. > One has just to be careful > with /etc/udev/rules.d/70-persistent-net.rules when preparing the config > on a different hardware, otherwise the NICs come up with wrong names and > your locked out. > > I think being able to select the iso and the config file at boot time is > the best DL can do if you want to it without touching the remote > hardware. > > > Regards, > Frank > > > On Thu, 2010-10-07 at 08:51 -0500, Heiko Zuerker wrote: >> Hey, >> >> I like the idea, but I'm not sure we can really implement this. >> The problem is that you possibly can't start the system without the >> updated config. >> Maybe anybody has an idea on how to solve this? >> >> Heiko >> >> Quoting Dominic Raferd<dl...@ed...>: >>> I very rarely use the local console (screen/keyboard) for accessing >>> DL. It is much more convenient to access it by ssh, not least because I >>> don't have to be physically in front of the machine. >>> >>> However the one time when I am required to be locally present is when >>> upgrading from one release to the next, because the upgrade script runs >>> before ssh is enabled. So I still need a local console [ or I guess >>> serial console ] available. >>> >>> Is/could it be possible to run the upgrade script through ssh? Then DL >>> would suit truly 'headless' installations requiring only an ethernet >>> connection. >>> >>> Dominic >>> >>> ------------------------------------------------------------------------------ >>> Beautiful is writing same markup. Internet Explorer 9 supports >>> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2& L3. >>> Spend less time writing and rewriting code and more time creating great >>> experiences on the web. Be a part of the beta today. >>> http://p.sf.net/sfu/beautyoftheweb >>> _______________________________________________ >>> Devil-linux-discuss mailing list >>> Dev...@li... >>> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >>> >> >> |