Add README

This commit is contained in:
Piotr Dobrowolski 2017-03-10 22:49:05 +01:00
parent 0bba0fe9a4
commit 7d36e101a7
3 changed files with 18 additions and 7 deletions

13
README.md Normal file
View File

@ -0,0 +1,13 @@
vmtool
======
Simple ovh-compatible VM creation tool. And also highly opinionated.
Installation
------------
apt install python python-pip cloud-image-utils
apt install python-docopt python-jinja2 python-netaddr # (optionally, use if you like your dist packages)
pip install -r requirements.txt
mkdir /templates /datasource
wget https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img -O /templates/xenial.img

View File

@ -1,7 +0,0 @@
import ovh
client = ovh.Client()
print(client.request_consumerkey([
{'method': 'GET', 'path': '/*'},
{'method': 'POST', 'path': '/*'},
]))

5
requirements.txt Normal file
View File

@ -0,0 +1,5 @@
docopt>=0.6.2
Jinja2>=2.8
netaddr>=0.7.18
libvirt-python>=1.3.1
ovh==0.4.7