Script makes easy to make updates for VPSes using vzyum. Install: 1. Put the script to the /usr/sbin/ directory 2. Run the command: # chmod 100 /usr/sbin/vzyumall Usage: vzyumall <yum_command> <package> Example: vzyumall install rpm
Nicely done. However, you don't seem to be able to run "vzyumall update" and have it run a "yum update" on everything. If that was changed, I'd say that this should be added to the distribution (or perhaps modded in as a "vzyum all" option).
jason|xoxide wrote on Tue, 26 September 2006 09:40 Nicely done. However, you don't seem to be able to run "vzyumall update" and have it run a "yum update" on everything. If that was changed, I'd say that this should be added to the distribution (or perhaps modded in as a "vzyum all" option). I'm sorry, I will be glad to fix it and see it in OpenVZ distribution, but I didn't get any problem with 'vzyumall update $something'. Can you please provide me with more information on what problem you got with 'update' argument?
Yes, 'vzyumall update blah' will update the 'blah' package and that works fine. However, simply typing 'vzyumall update' returns a usage message because the required 2nd argument is missing. It would be nice if typing 'vzyumall update' would follow the behavior of typing typing 'vzyum xxx update' for each virtual machine in that it updates every package that is installed.
Hi, I have attached a simple script for your requirement. HowTo: 1. Download the file "vzyum-all" and copy the file to /usr/sbin/ directory 2. Execute the following #chmod 700 vzyum-all Executing the script "vzyum-all" will update all your VEs. Please do check. Have a nice day!