dalgibbard / citrix_xenserver_patcher

Auto / Manual Patching tool for Citrix XenServer Boxes
Do What The F*ck You Want To Public License
142 stars 45 forks source link

Add 'download only' and 'apply offline' functionality #54

Open forall opened 8 years ago

forall commented 8 years ago

Hi, It's possible to add script a option -> download only a patch without patching?

dalgibbard commented 8 years ago

Yes it's possible, but I'm not sure it holds much value. You could review the XML for the patches you want to download, as that has the download links in it, as a short term option?

Once you've downloaded only, what's the next steps? ie. What's the use case/requirements for this?

forall commented 8 years ago

Sometimes the download patches take a long time.. so I can run script which download all patches and next day I can apply it.

dalgibbard commented 8 years ago

Gotcha, might be possible then. The only thing I'm wondering is how we verify that the local file is valid on the install; the download could have been interrupted for example...

forall commented 8 years ago

This is a good question....Maybe it's possible to check md5sum patches from xml file?

dalgibbard commented 8 years ago

Can't remember if they're listed or not. I'll look into it at some point anyway :)

abien commented 8 years ago

+1 for this. Reason: We have a bunch of XenServers. Instead of running this patcher locally(/home/patcher) from each and every system, we (would like to) run it on multiple server at once from a central NFS share. ex: /mnt/patcher

However, currently this isnt working because the downloads will get messed up due to parallel access.

It would be good if the script would allow me to just keep files and reuse them instead of download everyfile on every run. Maybe even specify the download dir.