OpenVZ Forum


Home » General » Discussions » OpenVZ Simple Scripts
OpenVZ Simple Scripts [message #13265] Wed, 23 May 2007 23:18 Go to previous message
OVZJustin is currently offline  OVZJustin
Messages: 6
Registered: May 2007
Location: Toronto, Ontario
Junior Member

Hey,

I've been working on some scripts that make VPS Management easier...

Hopefully I will get them into a web gui eventually but for now I doubt it...

Heres what I've done so far:

File Name: createvps.sh
Usage: ./createvps.sh [VPSID] [OSIMAGE] [CONFIGFILE] [HOSTNAME] [IPADDRESS] [NAMESERVER] [PASSWORD] [ONBOOT]
Explanation: This is used to create new vps's... it will create a vps and set hostname, ip, nameserver, password and yes/no for start on boot.

That's the main file. I've created a few more:

destroyvps.sh = Destroy VPS with specified ID
restartvps.sh = Restarts VPS with specified ID
stopvps.sh = Halts VPS with specified ID
startvps.sh = Starts VPS with specified ID
listimages.sh = Lists all files in /vz/template/cache
addip.sh = Adds IP to vps with specified ID

I will be making a few more before I release it, but I'm wondering. Do you guys like what I have so far?

Are you interested in this type of thing?


http://static.openvz.org/userbars/openvz-user.png
 
Read Message
Read Message
Read Message
Previous Topic: High Availability
Next Topic: OpenVZ article on Italian "Linux Magazine"
Goto Forum:
  


Current Time: Tue Aug 06 05:23:24 GMT 2024

Total time taken to generate the page: 0.03209 seconds