Skip to content

vm-image upload service #2

@krimdomu

Description

@krimdomu

a small web service (for example with mojolicious or dancer) to upload and register new base images

This service should allow people with a valid token to upload qcow2 images to /var/lib/libvirt/images.

The tokens can be held inside a mysql or sqlite database.

In the first step the tokens can be generated manually by $admin

Example Request:

POST https://build.rexify.org/images/
X-Token: c4d9b902a96b9fbd0a08f2456c56b824
X-User: jfried
X-VM-OS: centos
X-VM-Arch: amd64
Content-Length: 1234

## data ##

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions