Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trstringer/cloud-init-update
Cloud-init update process.
https://github.com/trstringer/cloud-init-update
cloud cloud-init provisioning
Last synced: 10 days ago
JSON representation
Cloud-init update process.
- Host: GitHub
- URL: https://github.com/trstringer/cloud-init-update
- Owner: trstringer
- License: mit
- Created: 2019-08-05T17:25:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-19T21:31:14.000Z (over 5 years ago)
- Last Synced: 2024-10-11T15:08:29.955Z (2 months ago)
- Topics: cloud, cloud-init, provisioning
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloud-init Updater
Automatically update cloud-init.
## Installation
`cloud-init-update` is distributed from the `trstringer/cloud-init-update` PPA.
```
# apt-add-repository ppa:trstringer/cloud-init-update
# apt install cloud-init-update
```*Note*: `cloud-init-update.service` will not run automatically on installation or upgrade. Nor will it run by default. See [Configuration](#configuration) for enabling the updater.
## Configuration
`cloud-init-update` is **disabled by default**. To enable it create a file `/etc/cloud/cloud-init-update.enabled`.
## How it works
The updater is a standalone package and daemon from `cloud-init`. It injects itself into the cloud-init stages by executing after `cloud-init-local.service` and before `cloud-init.service`. This effectively inserts the updater in between the [Local](https://cloudinit.readthedocs.io/en/latest/topics/boot.html#local) service and the [Network](https://cloudinit.readthedocs.io/en/latest/topics/boot.html#network) service.
The logic is simple... the updater will use the package manager (in the case of Ubuntu/Debian, it will use the Python wrapper for apt) to check for any available updates to `cloud-init`. If one exists, then it will install the update. After an update, it will then run `cloud-init clean --logs --reboot`.
## Supported distributions
* Ubuntu
* Debian (untested)## Supported init systems
Currently only **systemd** is supported.