A client implementation for Virtomize Unattended Install Images API
Project description
UII Python API
This repository contains an implementation of a client for the Virtomize Unattended Install Images API.
Build an ISO
Building an ISO requires two steps.
-
Create a client. This requires the API token created in the UI (see below).
import uiipythonapi as uii api = uii.Client("token here")
-
Building the ISO by using
buildon the client object.err = api.build("debian10.iso", "debian", "10", "x86_64", "hostnamehere", [{ "dhcp": True, "nointernet": False, }])
buildrequires the following parameters:- A path to the output file
- The name of the distribution
- The version number of the distribution
- The architecture of the distribution (
x86_64in most cases) - A configuration of the network interfaces
Register an API token
Before using this client library, you need to register an API token under your account. For this, login into the website and go to the "API-Token" tab.
There, create a new API token by clicking "Create" and give it a name. Then click save.
A new token will be created.
Copy this token, as it will be hidden, once you log out.
There, create a new API token by clicking "Create" and give it a name. Then click save.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uiipythonapi-1.0.1.tar.gz.
File metadata
- Download URL: uiipythonapi-1.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39844bbb58468ffb4b1096dee47bb611e03e1da88899f51a122eb39e1eeb5c6b
|
|
| MD5 |
34ac51a11f7a58be4f4babd05db2ff63
|
|
| BLAKE2b-256 |
ce764b4fe994ee9dc257af107fb1822e58d456c2f30b64fd98b5909ae53f3187
|
File details
Details for the file uiipythonapi-1.0.1-py3-none-any.whl.
File metadata
- Download URL: uiipythonapi-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36af693cb1b2e0de048a398677455e4dc91492d751960d3afe5f094a7dde13c3
|
|
| MD5 |
3d0edad5efa88b2b57bfad1cc3202122
|
|
| BLAKE2b-256 |
6cc3b1cd9de8bce0aed78352fdd685c313662ec4157a45a65ec835f3cf54e064
|