summaryrefslogtreecommitdiff
path: root/packages/suse
Commit message (Collapse)AuthorAgeFilesLines
* dhclient_hook: remove vestigal dhclient_hook command (#2015)Brett Holman2023-02-281-2/+0
| | | | | | | | | At inception[1], dhclient hooks were used to filter environment variables into /run/cloud-init/dhclient.hooks/<interface>.json which was consumed by WALinuxAgentShim. The fallback method was to parse the dhcp client lease file. Today the Azure datasource directly uses the parsed lease file[2], and loading /run/cloud-init/dhclient.hook/<interface>.json file was removed in 22.2[3]. With no other consumers, we can remove this. [1] https://github.com/canonical/cloud-init/commit/648dbbf6b090c81e989f1ab70bf99f4de16a6a70 [2] https://github.com/canonical/cloud-init/blob/main/cloudinit/sources/DataSourceAzure.py#L447 [3] https://github.com/canonical/cloud-init/commit/5ad0768a796bc07232476d0d29b5225f1e6e131c
* rpm/copr: ensure RPM represents new clean.d dir artifacts (#1680)Chad Smith2022-08-221-0/+2
| | | | | RPM build errors: Installed (but unpackaged) file(s) found: /etc/cloud/clean.d/README
* Inhibit sshd-keygen@.service if cloud-init is active (#1028)Ryan Harper2021-10-121-0/+1
| | | | | | | In some cloud-init enabled images the sshd-keygen@.service may race with cloud-init and prevent ssh host keys from being generated or generating host keys twice slowing boot and consuming additional entropy during boot. This drop-in unit adds a condition to the sshd-keygen@.service which prevents running if cloud-init is active.
* packages: update rpm specs for new bash completion pathDaniel Watkins2019-04-191-1/+3
| | | | LP: #1825444
* Add cloud-id binary to packages for SUSEJason Zions2018-10-251-0/+1
|
* - Do not use the systemd_prefix macro, not available in this environmentRobert Schweikert2018-05-291-42/+21
|
* packages: Make rpm spec files patch in package version like in debs.Scott Moser2018-05-231-0/+7
| | | | | This makes the necessary changes to patch the full packaged version into the trunk maintained redhat and suse spec files.
* Implement bash completion script for cloud-init command lineRyan Harper2018-04-171-0/+1
| | | | | In bash shells with bash_completion enabled, now the cloud-init sub commands and parameters/flags will be shown.
* pkg build ci: Add make ci-deps-<distro> target to install pkgsChad Smith2017-06-131-32/+20
| | | | | | | | | | | | | | | | | | | | | | This change adds a couple of makefile targets for ci environments to install all necessary dependencies for package builds and test runs. It adds a number of arguments to ./tools/read-dependencies to facilitate reading pip dependencies, translating pip deps to system package names and optionally installing needed system-package dependencies on the local system. This relocates all package dependency and translation logic into ./tools/read-dependencies instead of duplication found in packages/brpm and packages/bddeb. In this branch, we also define buildrequires as including all runtime requires when rendering cloud-init.spec.in and debian/control files because our package build infrastructure will also be running all unit test during the package build process so we need runtime deps at build time. Additionally, this branch converts packages/(redhat|suse)/cloud-init.spec.in from cheetah templates to jinja to allow building python3 envs.
* LICENSE: Allow dual licensing GPL-3 or Apache 2.0Jon Grimm2016-12-221-1/+1
| | | | | | | | | | | | | | | | | | This has been a recurring ask and we had initially just made the change to the cloud-init 2.0 codebase. As the current thinking is we'll just continue to enhance the current codebase, its desirable to relicense to match what we'd intended as part of the 2.0 plan here. - put a brief description of license in LICENSE file - put full license versions in LICENSE-GPLv3 and LICENSE-Apache2.0 - simplify the per-file header to reference LICENSE - tox: ignore H102 (Apache License Header check) Add license header to files that ship. Reformat headers, make sure everything has vi: at end of file. Non-shipping files do not need the copyright header, but at the moment tests/ have it.
* Update build tools to work with gitLars Kellogg-Stedman2016-08-031-11/+3
| | | | | | | | - Update HACKING.rst to include git instructions - update MANIFEST.in and .gitignore to ignore git-related things - replaced tarball generation scripts with git-based script - have the spec files correctly identify themselves as cheetah templates - make brpm work with git
* Fix Requires->requirements.txt rename in RPM build.Vlastimil Holer2014-01-311-1/+1
|
* Require sudo package.Vlastimil Holer2014-01-151-0/+1
|
* Add support for building a SLES rpm packageJuerg Haefliger2013-06-271-0/+162