OpenVZ Forum


Home » General » Discussions » Small script 'vzyumall'
Small script 'vzyumall' [message #6882] Tue, 26 September 2006 12:48 Go to next message
[QT]bender is currently offline  [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 485 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 Go to previous messageGo to next message
jason|xoxide is currently offline  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).

Re: Small script 'vzyumall' [message #6909 is a reply to message #6886] Wed, 27 September 2006 11:11 Go to previous messageGo to next message
[QT]bender is currently offline  [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 Go to previous messageGo to next message
jason|xoxide is currently offline  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.


Re: Small script 'vzyumall' [message #8456 is a reply to message #6882] Mon, 20 November 2006 12:13 Go to previous message
ramkriz is currently offline  ramkriz
Messages: 1
Registered: November 2006
Location: Coimbatore, India
Junior Member

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!
  • Attachment: vzyum-all
    (Size: 0.07KB, Downloaded 472 times)
Previous Topic: 64bit support
Next Topic: Running different distros as guests, how's that work?
Goto Forum:
  


Current Time: Sun Aug 04 13:11:28 GMT 2024

Total time taken to generate the page: 0.02862 seconds