1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-02-14 20:22:13 +00:00
No description
Find a file
thomas.guiseppin e283d0f2f7 Update readme
2017-10-29 17:59:20 +01:00
code Patch: Error managment 2017-10-29 16:04:56 +01:00
databases/mongoDB first commit 2017-10-21 22:04:42 +02:00
doc General update 2017-10-24 14:48:30 +02:00
system first commit 2017-10-21 22:04:42 +02:00
licence.txt first commit 2017-10-21 22:04:42 +02:00
README.md Update readme 2017-10-29 17:59:20 +01:00

Proxmox_Deploy

  • Author : Tlams
  • Date : 2017/2018
  • Status: Dev
  • Object : Massive LXC CT deploy system for proxmox hypervisor.

## Quick start (testings)

Requirement:

  • A proxmox server
  • A administrative pve user (full access)
  • A Vztemplate uploaded

Init:

# Start & generate your key
python3.5 startup.py

Insert your first cluster

curl -H -XPOST -d '{ "name": "Cluster_1",
                        "url":"proxmox.cluster.net",
                        "port": "8006",
                        "user": "user@pve",
                        "password": "******",
                        "template": "local:vztmpl/debian-9.0-standard_9.0-2_amd64.tar.gz",
                        "storage_disk": "disks",
                        "exclude_nodes": [""],
                        "weight": 1 }'  localhost:8080/api/v1/administration/cluster/new\

Create your first CT

curl -H -XPOST -d '{"count":"1"}' localhost:8080/api/v1/instance/new

Delete it

curl -XDELETE  localhost:8080/api/v1/instance/<id>