Add README
This commit is contained in:
parent
0bba0fe9a4
commit
7d36e101a7
13
README.md
Normal file
13
README.md
Normal 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
|
@ -1,7 +0,0 @@
|
||||
import ovh
|
||||
|
||||
client = ovh.Client()
|
||||
print(client.request_consumerkey([
|
||||
{'method': 'GET', 'path': '/*'},
|
||||
{'method': 'POST', 'path': '/*'},
|
||||
]))
|
5
requirements.txt
Normal file
5
requirements.txt
Normal 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
|
Loading…
x
Reference in New Issue
Block a user