summaryrefslogtreecommitdiff
path: root/systemd/cloud-init-generator.tmpl
Commit message (Collapse)AuthorAgeFilesLines
* add OpenCloudOS and TencentOS support (#1964)wynnfeng2023-02-181-1/+1
|
* Add support for OpenMandriva (https://openmandriva.org/) (#1520)Bernhard Rosenkraenzer2022-06-171-1/+1
| | | Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
* Shave ~8ms off generator runtime (#1387)Brett Holman2022-04-251-3/+3
| | | | | | | | | | | | - remove redundant file reads and subcommands[1] - add make target that renders templates[2] - add helper script for measuring script runtime - add make target that benchmarks generator[3] - add make target that benchmarks ds-identify[4] [1] cuts time in lxd from 17-20ms down to 8-13ms in lxc on my local machine [2] example: make render-template FILE=./systemd/cloud-init-generator.tmpl [3] usage: NUM_ITER=42 make benchmark-generator [4] usage: NUM_ITER=42 make benchmark-ds-identify
* Fix cloud-init status --wait when no datasource found (#1349)James Falcon2022-03-231-0/+7
| | | | | | | | | | * Fix cloud-init status --wait when no datasource found In 0de7acb1, we modified status checks to wait until we get an "enabled" or "disabled" file from ds-identiy. ds-identify never outputs a "disabled" file, so "status --wait" will wait indefinitely if no datasource is found. LP: #1966085
* Remove redundant generator logs (#1318)Brett Holman2022-03-141-21/+18
| | | | | | | Summary: - currently we log redundant data, which at a glance looks like ds-identify runs twice - use return code for control flow rather than strings - group templated code and add demarcation comments around it - explicitly define generator log file
* Add miraclelinux support (#1128)Haruki TSURUMOTO2021-12-071-1/+1
|
* Support openEuler OS (#1012)zhuzaifangxuele2021-09-131-2/+2
| | | openEuler Homepage: https://www.openeuler.org/en/
* Add CloudLinux OS support (#1003)Alexandr Kravchenko2021-09-011-1/+1
| | | https://www.cloudlinux.com/
* Add support for EuroLinux 7 && EuroLinux 8 (#957)Aleksander Baranowski2021-08-051-1/+2
|
* Add VZLinux support (#951)eb30952021-07-211-1/+1
| | | Virtuozzo Linux is a distro based off of CentOS 8, similar to Alma Linux and Rocky Linux.
* Initial hotplug support (#936)James Falcon2021-07-191-0/+0
| | | | | | | | | | | | | | | | | | Adds a udev script which will invoke a hotplug hook script on all net add events. The script will write some udev arguments to a systemd FIFO socket (to ensure we have only instance of cloud-init running at a time), which is then read by a new service that calls a new 'cloud-init devel hotplug-hook' command to handle the new event. This hotplug-hook command will: - Fetch the pickled datsource - Verify that the hotplug event is supported/enabled - Update the metadata for the datasource - Ensure the hotplugged device exists within the datasource - Apply the config change on the datasource metadata - Bring up the new interface (or apply global network configuration) - Save the updated metadata back to the pickle cache Also scattered in some unrelated typing where helpful
* Add Rocky Linux support to cloud-init (#906)Louis Abel2021-05-251-1/+1
| | | | Rocky Linux is a RHEL-compatible distribution so all changes that have been made should be trivial.
* Add AlmaLinux OS support (#872)Andrew Lukoshko2021-05-071-1/+1
| | | AlmaLinux OS is RHEL-compatible so all the changes needed are trivial.
* Change from redhat to rhel in systemd generator tmpl (#450)Eduardo Otubo2020-06-231-1/+1
| | | | | The name `redhat' is not used but rather `rhel' to identify the distro. Signed-off-by: Eduardo Otubo <otubo@redhat.com>
* cloud-init-generator: use libexec path to ds-identify on redhat systemsRyan Harper2019-06-191-1/+6
| | | | | | | Update the template to use libexec prefix path to ds-identify on redhat systems. LP: #1833264
* systemd: Render generator from template to account for system differences.Robert Schweikert2019-01-281-0/+175
The systemd generator used had a hard coded path for the location target file to create. This path does not apply to all distributions. Make the generator and template to have the path set during build time.