https://github.com/toabctl/cloud-init-seed
https://github.com/toabctl/cloud-init-seed
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/toabctl/cloud-init-seed
- Owner: toabctl
- License: apache-2.0
- Created: 2018-12-30T10:48:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-30T16:27:29.000Z (over 7 years ago)
- Last Synced: 2025-02-21T08:47:24.984Z (over 1 year ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
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/