Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/vyos/vyos-cloud-init


https://github.com/vyos/vyos-cloud-init

net: add rfc3442 (classless static routes) to EphemeralDHCP

The EphemeralDHCP context manager did not parse or handle
rfc3442 classless static routes which ...

07b17236be5665bb552c7460102bcd07bf8f2be8 authored over 5 years ago
templates/ntp.conf.debian.tmpl: fix missing newline for pools

The debian ntp.conf template did not contain a newline for the
comment used to mark the rendered...

14048171f8e5273b1b82c6d2ed5675a7d1a6eeb6 authored over 5 years ago
Support netplan renderer in Arch Linux

Support is for now implemented in such a way that it will fall back to
the old `_write_network()...

a785462959e8746cc16609a159fee33dedd713b1 authored over 5 years ago
Fix typo in publicly viewable documentation.

a066ccdbb24a0dd7d3dd447a2044110fae9c6abb authored over 5 years ago
Add a cdrom size checker for OVF ds to ds-identify

With a large size ISO file attached to iso dev, ds-identify might
grep it entirely if iso dev is...

d9769c475d38a8c30084b1e7537ae3f0359ed3ad authored over 5 years ago
VMWare: Trigger the post customization script via cc_scripts module.

cloud-init does not trigger reboots of a VM therefore adding custom
scripts to rc.local does not...

9c47c682b7aaa185c32a68f4dea8e23e9a2ef565 authored over 5 years ago
Cloud-init analyze module: Added ability to analyze boot events.

This branch introduces a new command line feature for cloud-init.
Currently, the cloud-init modu...

a24550aee4c7282cd3624bf63f9501444e517678 authored over 5 years ago
Update debian eni network configuration location, retain Ubuntu setting

On Debian, ifupdown uses `source-directory /etc/network/interfaces.d`
(for new installs) to incl...

a6faf3acef02bd8cd4d46ac9efeebf24b3f21d81 authored over 5 years ago
net: skip bond interfaces in get_interfaces

bonds may inherit mac address from a physical interface

LP: #1812857

e5f542132568a8da63823f478cea52bfb28ac655 authored over 5 years ago
Fix a couple of issues raised by a coverity scan

* cc_lxd: fix copy/paste error in debug logging
* DataSourceCloudSigma: remove unreachable code
...

217c89369c3b16f11333f0090e059f76fc5d7937 authored over 5 years ago
Add missing dsname for Hetzner Cloud datasource

5e4792cd11a4754384bd70e4dc94413976017ae8 authored over 5 years ago
doc: indicate that netplan is default in Ubuntu now

b993b0a308b2e8182beef965ff57e9a7974f5e17 authored over 5 years ago
azure: add region and AZ properties from imds compute location metadata

This allows cloud-init query region to show valid region data for Azure

feebec1cbb462208003460d68d909e76cb68e0e2 authored over 5 years ago
sysconfig: support more bonding options

Currently, only a few bonding parameters can be configured on
sysconfig systems. This patch aims...

f57a77577dd708c7f57babf8cd63ec18134bf34a authored over 5 years ago
cloud-init-generator: use libexec path to ds-identify on redhat systems

Update the template to use libexec prefix path to ds-identify on redhat
systems.

LP: #1833264

e1795a5cd1cb216e5514f55bdb1cddc605f40df3 authored over 5 years ago
tools/build-on-freebsd: update to python3

- use python3 by default
- ability to use any Python version through the PYTHON env-var
- indent...

a0f863da274fcd631441ba38fa9c7dd438a56480 authored over 5 years ago
Allow identification of OpenStack by Asset Tag

When OpenStack is deployed on some hypervisors (such as VMware
vSphere), cloud-init doesn't dete...

deaeb714a3582ff7f31e411bcdaf9669903e35f0 authored over 5 years ago
Fix spelling error making 'an Ubuntu' consistent.

c3cd42cc655035209329b78b09b3cfb8fc01cf7d authored over 5 years ago
run-container: centos: comment out the repo mirrorlist

In this way only the 'baseurl' mirror is used, which is easier
to allow through firewalls and pr...

19ddb1fb11434f860daee2238cdc23a56b9dc86f authored over 5 years ago
netplan: update netplan key mappings for gratuitous-arp

Previous versions of netplan included a misspelling for the
bond parameter around gratuitous-arp...

ded1ec81e3c6c37c5241b12fcc3c41182e675dff authored over 5 years ago
freebsd: fix the name of cloudcfg VARIANT

config/cloud.cfg.tmpl uses 'freebsd', not 'bsd' to identify FreeBSD.

c951963ffa94145be1bd5f1cef7dba6007f75bd2 authored over 5 years ago
freebsd: ability to grow root file system

- UFS file system support
- GPT partition table support
- add support for newfs's -L parameter (...

6197c347c3960254dbcdb28eb73989d062ad9689 authored over 5 years ago
freebsd: NoCloud data source support

blkid is a Linux-only command. With this patch, cloud-init uses another
approach to find the dat...

0f8695323262e41c699588c7cd140f6b58c62017 authored over 5 years ago
cloud-init add backports use "tee"

5975dad813933842b2ae4b9f727a061224cde96d authored almost 6 years ago
cloud-init add backports

ea6bb33106d46ff37ec96f9918552b255d41b690 authored almost 6 years ago
Revert "cloud-init install depends"

This reverts commit 227f2ec92a7ae775498366c07562ddf6779155d8.

c24d921849187d63ee19338b95452f37c17371a6 authored almost 6 years ago
cloud-init install depends

227f2ec92a7ae775498366c07562ddf6779155d8 authored almost 6 years ago
Create Jenkinsfile current

d56627548b82f24752fd733687f8c460932367e5 authored almost 6 years ago
Create Jenkinsfile crux

66710f8d6b7cf3f49fd8733a66bf8a9d400a8268 authored almost 6 years ago
Azure: Return static fallback address as if failed to find endpoint

The Azure data source helper attempts to use information in the dhcp
lease to find the Wireserve...

baa478546d8cac98a706010699d64f8c2f70b5bf authored almost 6 years ago
release 19.1

Bump the version on cloudinit/version.py to be 19.1 and update ChangeLog

LP: #1828479

acd84e22b3ebe639d05df3357cde98d9b1e5de91 authored almost 6 years ago
freebsd: add chpasswd pkg in the image

cc_set_passwords.py depends on chpasswd binary.

7193b80e4ade638880bd66b1f208c049ffa24479 authored almost 6 years ago
tests: add Eoan release

ce5fe3a20e86c4745d0310bb9c344d1344d9684c authored almost 6 years ago
cc_mounts: check if mount -a on no-change fstab path

Under some circumstances, cc_disk_setup may reformat volumes which
already appear in /etc/fstab ...

acc25d8d7d603313059ac35b4253b504efc560a9 authored almost 6 years ago
replace remaining occurrences of LOG.warn

9aa97cfc73b31dc548a240e5f4bd1ef41861cc4d authored almost 6 years ago
DataSourceAzure: Adjust timeout for polling IMDS

If the IMDS primary server is not available, falling back to the
secondary server takes about 1s...

ab6621d849b24bb652243e88c79f6f3b446048d7 authored almost 6 years ago
Azure: Changes to the Hyper-V KVP Reporter

 + Truncate KVP Pool file to prevent stale entries from
being processed by the Hyper-V KVP re...

86674f013dfcea3c075ab41373ffb475881066f6 authored almost 6 years ago
git tests: no longer show warning about safe yaml.

Currently on 18.04, running tox -e py27 will spew errors like:
.tests/unittests/test_net.py:2649...

784d3300f213c78d197a7ac8ad42cb098fd82356 authored almost 6 years ago
tools/read-version: handle errors

When the cloned branch was not the canonical upstream and tags were not
available, tox would fai...

3fb55ea85139f2d29ce32f124d099419fbd06f60 authored almost 6 years ago
net/sysconfig: only indicate available on known sysconfig distros

Restrict the sysconfig renderer availabily to known distros.
Ubuntu/Debian systems may include n...

5de83fc54c17b504842a924e7db08e8c2c1cebf9 authored almost 6 years ago
packages: update rpm specs for new bash completion path

LP: #1825444

69251d5b4431204c1e768fdf6e9f268edceb2e96 authored almost 6 years ago
test_azure: mock util.SeLinuxGuard where needed

Mock util.SeLinuxGuard to do nothing within tests that mock functions
used by the guard, when th...

c8c32515778983d244126d4e359be9e91b3ce9e5 authored almost 6 years ago
setup.py: install bash completion script in new location

Per lintian, this is the path at which bash completion scripts should
now be installed.

947d3c20891815f164f4c7a8884d1f02ae4a9c5b authored almost 6 years ago
mount_cb: do not pass sync and rw options to mount

On FreeBSD, mount_cd9660 does not accept the sync option that is enabled
by default. In addition...

937555fd422edf8235430afab3c0ab69f9e3b3a4 authored almost 6 years ago
cc_apt_configure: fix typo in apt documentation

9fc682c9ebbccab5e958eb882636d969be88beb9 authored almost 6 years ago
disable deployPkgPluginPath so vmware will not timeout on getting the customization file

0bbc3eb3a1de27fae09c478775c2e4d8c6f02f31 authored almost 6 years ago
Revert "DataSource: move update_events from a class to an instance..."

Moving update_events from a class attribute to an instance attribute
means that it doesn't exist...

6322c2ddf4b68a8e7cc467a07fb20a1d151a2ef3 authored almost 6 years ago
Change DataSourceNoCloud to ignore file system label's case.

NoCloud data source now accepts both 'cidata' and 'CIDATA'
as filesystem labels. This is similar...

b76714c355a87416f9f07156b0f025aceaca7296 authored almost 6 years ago
cmd:main.py: Fix missing 'modules-init' key in modes dict

Cloud-init's main.py will fail when presented with a new
stage name 'modules-init' if upgrading ...

bdd9c0ac9bcd68ec1ac3b2038dad0ba3dbd83341 authored almost 6 years ago
ubuntu_advantage: rewrite cloud-config module

ubuntu-advantage-tools version 19 has a different command line
interface. Update cloud-init's co...

f247dd20ea73f8e153936bee50c57dae9440ecf7 authored almost 6 years ago
Azure: Treat _unset network configuration as if it were absent

When the Azure datasource persists all of its metadata to the
instance directory, it deliberatel...

528366820bb48c13957d0c58afc2a46a3ba84bef authored almost 6 years ago
DatasourceAzure: add additional logging for azure datasource

Create an Azure logging decorator and use additional ReportEventStack
context managers to provid...

0d8c88393b51db6454491a379dcc2e691551217a authored almost 6 years ago
cloud_tests: fix apt_pipelining test-cases

The apt_pipelining test-cases were broken but until cloud-init
changed it's default behavior to ...

47c53002ea7a661c674c3e409357db7e8a00297a authored almost 6 years ago
Azure: Ensure platform random_seed is always serializable as JSON.

The Azure platform surfaces random bytes into /sys via Hyper-V.
Python 2.7 json.dump() raises an...

0dc3a77f41f4544e4cb5a41637af7693410d4cdf authored almost 6 years ago
net/sysconfig: write out SUSE-compatible IPv6 config

For writing IPv6 addresses to ifcfg-* the name "IPV6ADDR" is used. For
secondary IPs the value f...

bb0b6f1d4e587d74a6e8fe17fa1c4dc3cf5287f7 authored almost 6 years ago
tox: Update testenv for openSUSE Leap to 15.0

Use the requirements for the openSUSE Leap 15.0 release.

dfe50e300882e3affcb02e686578807aea921b99 authored almost 6 years ago
net: Fix ipv6 static routes when using eni renderer

When rendering ipv6 static routes in eni format the
post-up/pre down commands were not correct f...

22e332933e78bc1c819c4f876d48620605ae813b authored almost 6 years ago
Add ubuntu_drivers config module

The ubuntu_drivers config module enables usage of the 'ubuntu-drivers'
command. At this point it...

5e5894d68d21bf33649aca36973a0ef2fe72f01d authored almost 6 years ago
doc: Refresh Azure walinuxagent docs

- Remove outdated waagent.conf recommendations
- Recommend using Provisioning.UseCloudInit
- Reo...

6d58bd8a65e1e7723cd6019b0ceca39564c435fd authored almost 6 years ago
tox: bump pylint version to latest (2.3.1)

The previous version was emitting errors due to an incompatibility with
one of its dependencies....

200b0ac1fc1709f6c06bb963beb3080a5b5c6fb1 authored almost 6 years ago
DataSource: move update_events from a class to an instance attribute

Currently, DataSourceAzure updates self.update_events in __init__. As
update_events is a class a...

f2fd6eac4407e60d0e98826ab03847dda4cde138 authored almost 6 years ago
net/sysconfig: Handle default route setup for dhcp configured NICs

When the network configuration has a default route configured and
another network device that is...

3acaacc92be1b7d7bad099c323d6e923664a8afa authored almost 6 years ago
do not change hostname if it is empty

6fabe195e80852f540480f784b4ed911809c9c70 authored almost 6 years ago
DataSourceEc2: update RELEASE_BLOCKER to be more accurate

Our previous understanding of the upgrade issue was incomplete; it turns
out the only change we ...

1e6a72b679838d87c425edd21013260e9f17b500 authored almost 6 years ago
account for empty ssk keys and passwords

0b681afd22a375b238591ee5e7f9f1381cfa7a52 authored almost 6 years ago
cloud-init-per: POSIX sh does not support string subst, use sed

cloud-init-per is run via /bin/sh which requires POSIX shell
compliance and does not implement s...

3554ffe8657738795ae5e1b89f22b39358d78821 authored almost 6 years ago
Support locking user with usermod if passwd is not available.

In some cases, the 'passwd' command might not be available, but
'usermod' might be. In debian s...

7c07af289b77ce9ae2e20c6f2638a54e63f016ef authored almost 6 years ago
Example for Microsoft Azure data disk added.

43f5850767f2412c63a5e75d47598e5d0479fd25 authored almost 6 years ago
clean: correctly determine the path for excluding seed directory

Previously, init.paths.cloud_dir has a trailing slash, which meant that
"/var/lib/cloud//seed" w...

109772c2e9066f5ae53aa2806c4bb4a2ab6f4bff authored almost 6 years ago
helpers/openstack: Treat unknown link types as physical

Some deployments of OpenStack expose link types to the guest which
cloud-init doesn't recognise....

5352dd99eb2937b4eaaaf596b40ad7ca69d87f64 authored almost 6 years ago
drop Python 2.6 support and our NIH version detection

- Remove the last few places that use `if PY26`
- Replace our Python version detection logic wit...

edf052c3196139169ecbfe98049c278f4babc8ca authored almost 6 years ago
tip-pylint: Fix assignment-from-return-none errors

pylint now complains about assignment of None from a
return of a function call. This does not a...

eee0e09ead3d11c32e8888d13d164810ee5f19d6 authored almost 6 years ago
net: append type:dhcp[46] only if dhcp[46] is True in v2 netconfig

When providing netplan configuration to cloud-init, the internal
network state would enable DHCP...

bd35300ba36bd63686715fa9661516a518781f6d authored almost 6 years ago
use ovf labels to set vyos config

45b8ef0342b4254844cd46d5b94b10972ea9eec7 authored almost 6 years ago
cc_apt_pipelining: stop disabling pipelining by default

This was introduced due to Ubuntu using S3 mirrors, and S3 having a
buggy pipelining implementat...

f2f530e5960ce8afd33e7f62a9b5d8898a6d0d79 authored almost 6 years ago
tests: fix some slow tests and some leaking state

In test_ds_identify, don't mutate otherwise-static test data. When
running tests in a random ord...

1182ad5f9362e1570c622345a3ac996c07eb2eeb authored almost 6 years ago
util: don't determine string_types ourselves

six already provides this for us, and we're already paying the cost to
determine it there; no ne...

f278a8a3dbb1e45e8d83491ad24e41812cb77ddb authored almost 6 years ago
cc_rsyslog: Escape possible nested set

Under Python 3.7, we are seeing `FutureWarning: Possible nested set at
position 23`; escaping th...

f0f09629a924435c223f405bea084401ecb7faa2 authored almost 6 years ago
Enable encrypted_data_bag_secret support for Chef

Encrypted data bags require a secrets file to be present to
decrypt, and the location of the fil...

8cfcc28db1acc7594dbbf76b846f4964f40f9e63 authored almost 6 years ago
azure: Filter list of ssh keys pulled from fabric

The Azure data source is expected to expose a list of
ssh keys for the user-to-be-provisioned in...

34f54360fcc1e0f805002a0b639d0a84eb2cb8ee authored almost 6 years ago
doc: update merging doc with fixes and some additional details/examples

Update config merging documentation with cloud-config syntax fix. Add an
example showing how to...

79d40e6b7bce33af69572c6054b3398b8d8077c7 authored almost 6 years ago
tests: integration test failure summary to use traceback if empty error

When integration tests verification fails, the object returned
contains has 'error' and 'traceba...

e7a8f81e6eee390ce6920df053bf7467b5e4dbd7 authored almost 6 years ago
This is to fix https://bugs.launchpad.net/cloud-init/+bug/1812676

9cf9d8cdd3a8fd7d4d425f7051122d0ac8af2bbd authored about 6 years ago
remove obsolete patch

4befa58fe77e53b4102f6b4aae241704efca2a14 authored about 6 years ago
EC2: Rewrite network config on AWS Classic instances every boot

AWS EC2 instances' network come in 2 basic flavors: Classic and VPC
(Virtual Private Cloud). The...

0bb4c74e7f2d008b015d5453a1be88ae807b1f9b authored about 6 years ago
netinfo: Adjust ifconfig output parsing for FreeBSD ipv6 entries

FreeBSD ifconfig output for ipv6 addrs doesn't find scopeid values
when present in the output an...

fff37e7dc6849fd16db504b0d338fae20a7beb39 authored about 6 years ago
netplan: Don't render yaml aliases when dumping netplan

Cloud-init rendered netplan with duplicate aliases if a network config
included "global" nameser...

cf30836645473c62599e838ab48b2d31677fa584 authored about 6 years ago
add PyCharm IDE .idea/ path to .gitignore

e9bf4f23209fecab15ff63427655e95bfa0934a7 authored about 6 years ago
correct grammar issue in instance metadata documentation

LP: #1802188

3a897fbd792adc1a0031364bd46d64831ca91228 authored about 6 years ago
clean: cloud-init clean should not trace when run from within cloud_dir

Avoid traceback when cloud-init clean is run from within
/var/lib/cloud/ deleted dirs.

LP: #179...

489553547f3461bd8ff67d3099237694130eb714 authored about 6 years ago
Resolve flake8 comparison and pycodestyle over-ident issues

Fixes:
- flake8: use ==/!= to compare str, bytes, and int literals
- pycodestyle: E117 over-in...

94a64529dccebd8fe8c7969370b8696e46023fbd authored about 6 years ago
opennebula: also exclude epochseconds from changed environment vars

In addition to EPOCHREALTIME there is also an EPOCHSECONDS environment
variable that OpenNebula ...

8ee294d567c071fff1f9567e968ba73602308192 authored about 6 years ago
systemd: Render generator from template to account for system differences.

The systemd generator used had a hard coded path for the location target
file to create. This p...

09dcecf37628c5809ae21d7785693cb7358ca94c authored about 6 years ago
sysconfig: On SUSE, use STARTMODE instead of ONBOOT

ONBOOT is not recognized on openSUSE and SUSE Linux Enterprise,
add the STARTMODE setting

LP: #...

3f12012eba2aabb6ca7b3ef70bc33a4aa1edada4 authored about 6 years ago
flake8: use ==/!= to compare str, bytes, and int literals

7a6ed1a23aeb26efaebc818a1a7cc7f7c6757b32 authored about 6 years ago
opennebula: exclude EPOCHREALTIME as known bash env variable with a delta

This branch is needed to allow cloud-init to sbuild on Ubuntu Disco.

OpenNebula:parse_shell_con...

d1a2fe7307e9cf2251d1f9a666c12d71d3f522d6 authored about 6 years ago
tox: fix disco httpretty dependencies for py37

LP: #1813361

c7248059dd2faaaadfbcef5c83e8e8ea166d6767 authored about 6 years ago
run-container: uncomment baseurl in yum.repos.d/*.repo when using a proxy

When using a proxy it is often useful to know in advance which mirrors
are to be contacted, so a...

7a4696596bbcccfedf5c6b6e25ad684ef30d9cea authored about 6 years ago
lxd: install zfs-linux instead of zfs meta package

When using the LXD module cloud-init will attempt
to install ZFS if it does not exist on the tar...

c283321bb118d5408390e12b173440f57bd2c160 authored about 6 years ago
net/sysconfig: do not write a resolv.conf file with only the header.

Writing the file with no dns information may prevent distro tools
from writing a resolv.conf fil...

b74ebca563a21332b29482c8029e7908f60225a4 authored about 6 years ago