Skip to content

Ganeti OS provider for cloud-init based images

License

Notifications You must be signed in to change notification settings

ganeti/instance-cloudimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

instance-cloudimage

Design Guidelines

This OS provider should provide users with an easy way of creating Ganeti Instances from simple blockdevice images using the Ganeti OS Interface.

Image Sources and Formats

Images should be accessible through a local filesystem path or can be retrieved from HTTP(S) URLs. An OS image may be available in different formats (e.g. raw, compressed raw, qcow2, vdi or others) and will be converted to native blockdevice data by this OS provider.

It is expected that the image contains a system supported by cloud-init which does take care of e.g. expanding the root filesystem to the full disk size upon first boot and also configure basic elements like networking.

Configuration details of the instance itself should be retrieved from Ganeti's metadata-daemon (metad). This may require modification of Ganeti itself, which will be documented here if needed.

Variants

TBD

Variant Parameters

TBD

OS Parameters

TBD

Hooks

The OS provider may implement a hook system which lets users add additional steps to the provisioning process. Hooks may be executed before the image is downloaded/opened/converted or after it has been written to the blockdevice.

Programming Language

This OS provider could be implemented in any language which supports the Ganeti OS Interface. However, it should be a language widely supported by current and common Linux Distributions and also provide an easy way to test the code. Python 3 along with pytest would be in line with the Ganeti codebase, but it is not a requirement.

About

Ganeti OS provider for cloud-init based images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published