cloud-init-seed-0.3.0
توضیحات
Create cloud-init compatible image seeds
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cloud-init-seed-0.3.0 |
| نام | cloud-init-seed |
| نسخه کتابخانه | 0.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Thomas Bechtold |
| ایمیل نویسنده | thomasbechtold@jpberlin.de |
| آدرس صفحه اصلی | https://github.com/toabctl/cloud-init-seed |
| آدرس اینترنتی | https://pypi.org/project/cloud-init-seed/ |
| مجوز | - |
cloud-init seed creation tool
=============================
.. image:: https://travis-ci.org/toabctl/cloud-init-seed.svg
:target: https://travis-ci.org/toabctl/cloud-init-seed
`cloud-init-seed` is a command line tool to create seed images
which can be used together with `cloud-init`_. This is eg. useful when using
Cloud images (which contain `cloud-init`) together with `libvirt`_ (which does
not have a metadata server which is usually used together with cloud-init).
.. note::
`cloud-init` in the image must have the `nocloud`_ datasource enabled.
Requirements and installation
-----------------------------
- mkisofs or genisoimage (`zypper in mkisofs` for openSUSE or `apt install genisoimage` for Debian)
- when using virtual envs, just install via pip `pip3 install cloud-init-seed`
Usage
-----
Create a seed image::
cloud-init-seed create
Now the `seed.img` file can be attached to a libvirt instance as a CDROM drive.
.. _cloud-init: https://cloudinit.readthedocs.io/en/latest/
.. _nocloud: https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html
.. _libvirt: https://libvirt.org/
نحوه نصب
نصب پکیج whl cloud-init-seed-0.3.0:
pip install cloud-init-seed-0.3.0.whl
نصب پکیج tar.gz cloud-init-seed-0.3.0:
pip install cloud-init-seed-0.3.0.tar.gz