Small script 'vzyumall' [message #6882] |
Tue, 26 September 2006 12:48 |
[QT]bender
Messages: 9 Registered: September 2006 Location: Russia, Ulyanovsk
|
Junior Member |
|
|
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
-
Attachment: vzyumall
(Size: 0.42KB, Downloaded 497 times)
Find all you need in your mind, if you can take the time...
|
|
|
Re: Small script 'vzyumall' [message #6886 is a reply to message #6882] |
Tue, 26 September 2006 13:40 |
jason|xoxide
Messages: 20 Registered: September 2006 Location: Exton, PA
|
Junior Member |
|
|
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 Litka
http://www.jasonlitka.com
|
|
|
Re: Small script 'vzyumall' [message #6909 is a reply to message #6886] |
Wed, 27 September 2006 11:11 |
[QT]bender
Messages: 9 Registered: September 2006 Location: Russia, Ulyanovsk
|
Junior Member |
|
|
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?
Find all you need in your mind, if you can take the time...
|
|
|
Re: Small script 'vzyumall' [message #6915 is a reply to message #6909] |
Wed, 27 September 2006 13:35 |
jason|xoxide
Messages: 20 Registered: September 2006 Location: Exton, PA
|
Junior Member |
|
|
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.
Jason Litka
http://www.jasonlitka.com
|
|
|
|