Skip to content

Example scripts for creating VM in GleSYS Cloud with cloud-init data

Notifications You must be signed in to change notification settings

larsdunemark/python-cloud-init-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

## Creating KVM-server with cloud-init and GleSYS API

This is a sample demo written in python to create (KVM) virtual machines
in GleSYS Cloud with cloud-init data.

You need to create a ini file with API project and key in your home directory
named .glesys.ini containing:
```
[api]
project = clxxxxxx
key = .......
```

## Requirements:
python3
python3-pip

## Install:
pip install -r requirements.txt

Running the commands:
./create.py <hostname> <cloud-init.yaml> [campaign-code]
./delete.py <serverid>
./preview.py <mustache-template>
./list.py

About

Example scripts for creating VM in GleSYS Cloud with cloud-init data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages