Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sitrox/proxmox-utils

Useful shell (python) scripts for managing proxmox virtual environment.
https://github.com/sitrox/proxmox-utils

Last synced: 6 days ago
JSON representation

Useful shell (python) scripts for managing proxmox virtual environment.

Awesome Lists containing this project

README

        

# Proxmox utils

A simple python-based utility for handling KVM machines on Proxmox 2.x systems.

## Installation

- Install setuptools

```bash
aptitude install python-setuptools
```

- Get source

```bash
git clone git://github.com/remofritzsche/proxmox-utils.git
```

- Install

```bash
cd proxmox-utils
python setup.py build
sudo python setup.py install
```

## Usage

```
./kvm-clone

This clones a KVM machine (NOTE: not a template) from one id to the other. If the source
machine is currently running, the script will automatically suspend it and resume it again
after the machine has been copied. To the end of the script, it gives you the possibility to
edit the configuration file for the target machine. In any case, this has to be done in order
to adapt the image paths contained in the configuration files.

./kvm-remove

This fully removes a KVM machine and it's configuration. You can also delete such a machine
directly via the Proxmox Web Interface, however a few files will be left out by Proxmox.

./kvm-create-template

Creates a new template from an installed KVM machine with . Make sure to
edit the generated template configuration file (especially name, comment and image file
location).

./kvm-list-templates

Lists the available template names.

./kvm-activate-template

This copies over an existing template to a machine of a certain ID.
```