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

github.com/vyos/vyos-cloud-init


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

ds-identify: fix wrong variable name in ovf_vmware_transport_guestinfo.

ovf_vmware_transport_guestinfo is not currently tested.
It used '$1' instead of '$out' when chec...

ee6bb34376e1814a91fc513a811b059b04260d4c authored about 6 years ago
OVF: simplify expected return values of transport functions.

Transport functions (transport_iso9660 and transport_vmware_guestinfo)
would return a tuple of 3...

65318379314278e19eb990d58000c5c66b08da24 authored about 6 years ago
Vmware: Add support for the com.vmware.guestInfo OVF transport.

This adds support for reading OVF information over the
'com.vmware.guestInfo' tranport. The cur...

d7952d075666122f480f0a5820ac01dfbaa7da1a authored about 6 years ago
Merge tag '18.5' into current

release 18.5

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

LP: #180...

c4da1a5cddacaa7c2a15df9170f21c3fce78fb15 authored about 6 years ago
net: Make sysconfig renderer compatible with Network Manager.

The 'sysconfig' renderer is activated if, and only if, there's ifup and
ifdown commands present ...

3861102fcaf47a882516d8b6daab518308eb3086 authored about 6 years ago
cc_set_passwords: Fix regex when parsing hashed passwords

Correct invalid regex to match hashes starting with the following:
- $1, $2a, $2y, $5 or $6

L...

ad170db966492e845b9dc23346cc7297e8a99032 authored about 6 years ago
net: Wait for dhclient to daemonize before reading lease file

cloud-init uses dhclient to fetch the DHCP lease so it can extract
DHCP options. dhclient creat...

fdadcb5fae51f4e6799314ab98e3aec56c79b17c authored about 6 years ago
[Azure] Increase retries when talking to Wireserver during metadata walk

Testing startup of large numbers of VMs (of varying distros) in Azure
shows that 3 retries resul...

f19dc8fa62d4fd8de33311c3c75c5b6da440bebe authored about 6 years ago
Add documentation on adding a datasource.

This adds documentation intended for a developer on how to add
a new datasource to cloud-init.

5f49ee0f3bdc9b3ebcc71b344b3918d4ef58c989 authored about 6 years ago
doc: clean up some datasource documentation.

The change to datasources.rst here is obvious typo fix.
The change to azure is to reduce the two...

3984726a6a3b1c044a8a0b78719f5438c3546e08 authored about 6 years ago
ds-identify: fix wrong variable name in ovf_vmware_transport_guestinfo.

ovf_vmware_transport_guestinfo is not currently tested.
It used '$1' instead of '$out' when chec...

12bc76cebf69a1c8cf9eba78431333842ed170cf authored about 6 years ago
Scaleway: Support ssh keys provided inside an instance tag.

The change here will utilize ssh keys found inside an instance's tag.
The tag value must start w...

a809b25c959228ff612ae8e6aaae215bdc028c64 authored about 6 years ago
OVF: simplify expected return values of transport functions.

Transport functions (transport_iso9660 and transport_vmware_guestinfo)
would return a tuple of 3...

d4d11c78e5e78999356fd0c3d124b5a298735b65 authored about 6 years ago
Vmware: Add support for the com.vmware.guestInfo OVF transport.

This adds support for reading OVF information over the
'com.vmware.guestInfo' tranport. The cur...

f55bb17ddb2fd64e039057bf7ee50951a0dc93e8 authored about 6 years ago
HACKING.rst: change contact info to Josh Powers

In the Hacking doc, change the contact information for the contributors
agreement to reference J...

26e95e95157d2dced6a8af9d766b93b7ae024d52 authored about 6 years ago
Update to pylint 2.2.2.

The tip-pylint tox target correctly reported the invalid use of
string formatting. The change h...

5b065316113b97aadb43e63cc31bb8639f6a6376 authored about 6 years ago
Release 18.5

Bump the version in cloudinit/version.py to be 18.5 and update ChangeLog.

LP: #1808380

45d731a61a07447521d56e8ce4f19ebfeba2aa78 authored about 6 years ago
tests: add Disco release

e1da348a968567a765c34a8c6f04f6ea9930721b authored about 6 years ago
net: render 'metric' values in per-subnet routes

It is possible to have a metric value in a per-subnet route.
This is currently missing in all re...

6aef6c7d402b17ebc04516a088a91f8e6ed86510 authored about 6 years ago
write_files: add support for appending to files.

Add 'append: true' to write_files entries to append 'content' to file
specified by 'path' key. ...

a4007d063f96b82545aa678ef2cb472ea3b48b1e authored about 6 years ago
config: On ubuntu select cloud archive mirrors for armel, armhf, arm64.

Infrastructure is now set up for Ubuntu to handle Amazon instances
hitting a ports archive at:
...

a582a2d2dff10b065b4711d583b3b158ee8b08ea authored about 6 years ago
dhclient-hook: cleanups, tests and fix a bug on 'down' event.

I noticed a bug in dhclient_hook on the 'down' event, using 'is'
operator rather than '==' (if s...

230e67ebd489c0d895243a2fc66ca95af2cea13b authored about 6 years ago
NoCloud: Allow top level 'network' key in network-config.

NoCloud's 'network-config' file was originally expected to contain
network configuration without...

adbd950af07a4b613a14bd83049915abdd6ca348 authored about 6 years ago
ovf: Fix ovf network config generation gateway/routes

Move routes under the nic's subnet rather than use top-level
("global") route config ensuring al...

cb44ad6f42ac015d7d8eaf2ab0bb5ab125ed04b6 authored about 6 years ago
azure: detect vnet migration via netlink media change event

Replace Azure pre-provision polling on IMDS with a blocking call
which watches for netlink link ...

bf7917159dbb292c9fcdef82b004e0f5ecb32c16 authored about 6 years ago
Azure: fix copy/paste error in error handling when reading azure ovf.

Check the appropriate variables based on code review. Correcting what
seems to be a copy/paste ...

c7c395ce0f3d024243192947fee32d7fc6c063f5 authored about 6 years ago
tests: fix incorrect order of mocks in test_handle_zfs_root.

The order of parameters to test_handle_zfs_root did not match
the order of the mocks applied.

T...

4ce8a2858dffcb1f9518b50d884b341f68ac5e63 authored about 6 years ago
doc: Change dns_nameserver property to dns_nameservers.

According to the examples in the page, v1 network config DNS should
be defined using the dns_nam...

2e93cc62c544fe07afaf36c473e84e6730928998 authored about 6 years ago
OVF: identify label iso9660 filesystems with label 'OVF ENV'.

When deploying an OVA, at least some versions of vmware
attach a cdrom with an ISO9660 filesyste...

530850f971e36f4b0ef216cec9d889a99474ca0e authored about 6 years ago
logs: collect-logs ignore instance-data-sensitive.json on non-root user

Since /run/cloud-init/instance-data-sensitive.json is root read-only,
ignore this file if non-ro...

e9d57b80c51a9952d7efa27da3ce469cbdf414b1 authored about 6 years ago
net: Ephemeral*Network: add connectivity check via URL

We add a new Optional parameter: connectivity_url
This is used in __enter__ to verify if a conne...

ef0611a51a98a273cfa37b0daeb3e9d151888b88 authored about 6 years ago
azure: _poll_imds only retry on 404. Fail on Timeout

Upon URL timeout, _poll_imds is expected to re-dhcp to get updated
IP configuration. We don't wa...

8f812a15fde01173c0dd5b7e1a77b61031fd93e4 authored over 6 years ago
resizefs: Prefix discovered devpath with '/dev/' when path does not exist

In some environments, like FreeBSD, gpart can return the device basename
instead of the full pat...

a3812a4ab4eeb2aa185eb4a2de186cc60ddd7c03 authored over 6 years ago
azure: retry imds polling on requests.Timeout

There is an infrequent race when the booting instance can hit the IMDS
service before it is full...

6062595b83e08e0f12e1fe6d8e367d8db9d91ef8 authored over 6 years ago
azure: Accept variation in error msg from mount for ntfs volumes

If Azure detects an ntfs filesystem type during mount attempt, it should
still report the resour...

6f9512049bbb594c3f01ffcd2ab25ae4e016f01e authored over 6 years ago
azure: fix regression introduced when persisting ephemeral dhcp lease

In commitish 9073951 azure datasource tried to leverage stale DHCP
information obtained from Eph...

d910ecd15de642d73a36e935704e54370f93c45b authored over 6 years ago
azure: add udev rules to create cloud-init Gen2 disk name symlinks

Cloud-init delivers udev rules on Azure to create the following symlinks:
- /dev/disk/cloud/azur...

3b332c93f765c9208f7e059d8a0c2463f7ffe12a authored over 6 years ago
tests: ec2 mock missing httpretty user-data and instance-identity routes

093f968013f418d591d9e778a57b2f050ac30db3 authored over 6 years ago
azure: remove /etc/netplan/90-hotplug-azure.yaml when net from IMDS

There was a typo in the seeded filename s/azure-hotplug/hotplug-azure/.

58476e719bad7dbe1f0bd09a61ff484ad17d8e55 authored over 6 years ago
azure: report ready to fabric after reprovision and reduce logging

When reusing a preprovisioned VM, report ready to Azure fabric as soon as
we get the reprovision...

907395104bb5850d221924365102cc5ab0eca2f1 authored over 6 years ago
query: better error when missing read permission on instance-data

Emit a permissions error instead of "Missing instance-data.json" when
non-root user doesn't have...

d74d3f0ff5c8d453f626b113f4e6065322f822fa authored over 6 years ago
instance-data: fallback to instance-data.json if sensitive is absent.

On cloud-init upgrade path from 18.3 to 18.4 cloud-init changed how
instance-data is written. Cl...

dc0be9c56f78537f1808934d26f5aa0868ae7842 authored over 6 years ago
docs: remove colon from network v1 config example.

The docs for network v1 config contained a errant ':'. Simply drop it.

532ff0f0a4f12225d5785bc98d7a4528e0c779d6 authored over 6 years ago
Merge tag 'ubuntu/18.4-0ubuntu1_16.04.2' into current

Conflicts:
cloudinit/sources/DataSourceAzure.py
config/cloud.cfg.tmpl
integration-requirement...

b120f4f7a670674779a93f8c882c81f44a993888 authored over 6 years ago
Add cloud-id binary to packages for SUSE

744c42361317eaa23f860104f152432e5bb5b996 authored over 6 years ago
Add dhcp call to ec2 datasource

838581d57c8765d3e487f58bc37ea103af39d26f authored over 6 years ago
systemd: On SUSE ensure cloud-init.service runs before wicked

With db50bc0d9 the sysconfig renderer was enabled for
openSUSE and SUSE Linux Enterprise. This r...

e0084a599d5259e507298175dad8a1e719017895 authored over 6 years ago
Use dhcp for google cloud source

Rework check to see which part of ssh key is which

9967bc76410b7ecddc6d02411cd3bda08a5a7b9a authored over 6 years ago
update detection of openSUSE variants

openSUSE has changed the way the distribution is identified in
os-release. Add support detectin...

4ea64f153c87a786642abfa4db4b31c4bdd5bc9d authored over 6 years ago
set user tag

28f66957d027264260e7b82616ffc9e7b67616e7 authored over 6 years ago
Get ip address on azure

dab1aa69b8e99d841ba90c42c30796e68242bbe2 authored over 6 years ago
do not check git

c6596d86435fdb1933a7755de110e8f6e8de6aaf authored over 6 years ago
Add cloud.cfg file for vyos

acb53fd6ea1ab907f86c877f509dbfee5d06cce6 authored over 6 years ago
add vyos cloud-init config module

4c668c026003df65e3c16c1d8ffb32855b587350 authored over 6 years ago
make cloud-init compile on debian jessie

46678295c78dac338111ec68c4bde2e005ef4491 authored over 6 years ago
fix paramiko exploit issue

2b6402ad8ddba958396c8f0ec88602da51c8bbaa authored over 6 years ago
update changelog

85452d3f01f2e68c6159f0a603a73eedcd36e6b4 authored over 6 years ago
add azure-apply-network-config-false.patch to patches/series

833adcdf6f85ec2305e62bea5a20f9363bf95507 authored over 6 years ago
cherry pick 1d5e9aef

LP: #1798424

f57d7b04ff7ccd38d498d7f9ae4af7fe40bf358e authored over 6 years ago
azure: Add apply_network_config option to disable network from IMDS

Azure generates network configuration from the IMDS service and removes
any preexisting hotplug ...

1d5e9aefdab06a2574d78e644deed6c6fa1da171 authored over 6 years ago
Correct spelling in an error message (udevadm).

Fix a typo in a RuntimeError path. (udevamd -> udevadm).

635fec38d173a047cad471e20d17b85c30c5a486 authored over 6 years ago
tests: meta_data key changed to meta-data in ec2 instance-data.json

LP: #1797231

4652b196e04b68d7c335e64766e3a0140157417c authored over 6 years ago
tests: fix kvm integration test to assert flexible config-disk path

Make integration test for flexible using regexp in case disk changes.

LP: #1797199

9f88125a25338b70b53a2f5b0af59499f334f261 authored over 6 years ago
tools: Add cloud-id command line utility

Add a quick cloud lookup utility in order to more easily determine
the cloud on which an instanc...

6ee8a2c557ccdc8be54bcf8a8762800c10f3ef49 authored over 6 years ago
instance-data: Add standard keys platform and subplatform. Refactor ec2.

Add the following instance-data.json standardized keys:
* v1._beta_keys: List any v1 keys in bet...

f0bc02d7e221c9aa5982b267739481420c761ead authored over 6 years ago
net: ignore nics that have "zero" mac address.

Previously we explicitly excluded mac address '00:00:00:00:00:00'.
But then some nics (tunl0 and...

00e36d3ded0b0f81f352de993036fc9f89e14a7a authored over 6 years ago
tests: fix apt_configure_primary to be more flexible

Commit d3e803ad316e6796e5d83e7e8f8f4f7224b92df9 added deb-src comments to
the cloud-init apt tem...

638f09e82260ea3256c387cd55408e0411f36c23 authored over 6 years ago
Ubuntu: update sources.list to comment out deb-src entries.

Other installation modes began to comment out the deb-src lines in
/etc/apt/sources.list sometim...

d3e803ad316e6796e5d83e7e8f8f4f7224b92df9 authored over 6 years ago
releasing cloud-init version 18.4-0ubuntu1~16.04.1

2a2ee79be22e89156034d86541572487feba05e3 authored over 6 years ago
update changelog (New upstream release 18.4).

0b78a73005c6fc44c2a989dccede516f73d43f83 authored over 6 years ago
update changelog.

18610b95665c7db339a92303456ca93119c0fa6f authored over 6 years ago
refresh patches against master commit e2800045

refresh patches against master commit e2800045:
debian/patches/ds-identify-behavior-xenial.patch

bfd38580a217189ca2a53ca0edb1538b5fcc6ced authored over 6 years ago
merge from master at 18.4

d6347e1c439eda7f43d9620dac2b461e980e1ae9 authored over 6 years ago
release 18.4

Bump the version in cloudinit/version.py to be 18.4 and update ChangeLog.

LP: #1795741

e28000457591bde9f22d6b7a538b1fc33349d780 authored over 6 years ago
tests: allow skipping an entire cloud_test without running.

Individual skipTest or setUp SkipTest will still launch the instance.
This allows us to stop the...

40768bad4c7eb966b2a8c1308cdae22e578b2413 authored over 6 years ago
tests: disable lxd tests on cosmic

Skip lxd tests on cosmic for two reasons:
a.) bug 1795036 - 'lxd init' fails on cosmic kernel.
b...

c239eb82f1bfe1d0c4b79f2a733f04cfb3277fbf authored over 6 years ago
cii-tests: use unittest2.SkipTest in ntp_chrony due to new deps

Git commitish fc4b966ba928b30b1c586407e752e0b51b1031e8 changed integration
test dependencies fro...

fb5015fe3f5078149463838b7974523646f94eab authored over 6 years ago
lxd: adjust to snap installed lxd.

Relax expectation on path to lxc and lxd. The deb path still does
install them in /usr/bin/ but...

facb92c5b55f4d27ee971eaf49c580fbf92ac2c3 authored over 6 years ago
docs: surface experimental doc in instance-data.json

fd873fa83fb5ca9c6d5f22a7bec6a308448c77ff authored over 6 years ago
tests: fix ec2 integration tests. process meta_data instead of meta-data

Commitish c7555762f3a30190ce7726b4d013bc3e83c7e4b6 changed the variable
names in instance-data.j...

27ff9c45744d4d5de44046b8b85ba0d10cd3e3f6 authored over 6 years ago
Add support for Infiniband network interfaces (IPoIB).

OpenStack ironic references Infiniband interfaces via a 6 byte 'MAC
address' formed from bytes 1...

e7b0e5f72e134779cfe22cd07b09a42c22d2bfe1 authored over 6 years ago
cli: add cloud-init query subcommand to query instance metadata

Cloud-init caches any cloud metadata crawled during boot in the file
/run/cloud-init/instance-da...

fc4b966ba928b30b1c586407e752e0b51b1031e8 authored over 6 years ago
tools/tox-venv: update for new features.

This update to tox-venv allows you to do:
./tools/tox-venv py3 - tests/unittests/test_util.py

0b0378dd07f16d45c16e5750b6815b22a771860d authored over 6 years ago
pylint: ignore warning assignment-from-no-return for _write_network

Distro subclasses arch, freebsd and debian still have a path with an
implemented _write_network ...

1c63a4f5d5cc045ef66291afe1694bd58cc059af authored over 6 years ago
stages: Fix bug causing datasource to have incorrect sys_cfg.

The Init object had a bug/odd side effect where when retrieving a distro
object it would update ...

f0ff194054da90b7b49620b5658342e52156d68e authored over 6 years ago
Remove dead-code _write_network distro implementations.

Any distro that has a '_write_nework_config' method should no
longer get their _write_network ca...

c3680475f9c97028d75a8f1bb58139ddd47d00ed authored over 6 years ago
net_util: ensure static configs have netmask in translate_network result

If a DataSource provides a network configuration in version 2 and runs
on a distro which does no...

98d18c31c8759add858096dea53bc093c7cc9caa authored over 6 years ago
Fall back to root:root on syslog permissions if other options fail.

If the user has removed the default configuration file or does
not set the syslog_fix_perms conf...

c714651c1988a17f457426de63cdb8514d5a81b4 authored over 6 years ago
tests: Add mock for util.get_hostname.

At present the host network settings bleed into the test environment
causing the test test_handl...

37078046cb191234982d95ad4876af4ed8f862f4 authored over 6 years ago
ds-identify: doc string cleanup.

There was a typo in the doc string at the top of ds-identify
(disable -> disabled). That is fix...

bb60f61bfcd92465f4076e8d8abbb486cf6bbcf1 authored over 6 years ago
OpenStack: Support setting mac address on bond.

Fix a bug where setting of mac address on a bond device was
ignored when provided in OpenStack n...

c6cfed7fb58be76a3f95963a5de469aa03542cd3 authored over 6 years ago
bash_completion/cloud-init: fix shell syntax error.

A syntax error creeped in with commit c7555762f3a3.

84bf2482ad569357541e94d8f7f90cf0cdd759e2 authored over 6 years ago
EphemeralIPv4Network: Be more explicit when adding default route.

On OpenStack based OVH public cloud, we got DHCP response with
  fixed-address 54.36.113.86;
  o...

12066fc8f6518d294501aa126b5332ea90c4896c authored over 6 years ago
OpenStack: support reading of newer versions of metdata.

Mark as supported for reading some newer versions of openstack metadata:
2016-06-30 : Newton on...

4361e0e42a34ebf9f49dde2356b7261715cf0cd5 authored over 6 years ago
OpenStack: fix bug causing 'latest' version to be used from network.

Cloud-init was reading a list of versions from the OpenStack metadata
service (http://169.254.16...

c75c582ed1824dc3ff39cefdbddccfc2924b868c authored over 6 years ago
user-data: jinja template to render instance-data.json in cloud-config

Allow users to provide '## template: jinja' as the first line or their
#cloud-config or custom s...

c7555762f3a30190ce7726b4d013bc3e83c7e4b6 authored over 6 years ago
config: disable ssh access to a configured user account

Cloud config can now disable ssh access to non-root users.

When defining the 'users' list in cl...

757247f9ff2df57e792e29d8656ac415364e914d authored over 6 years ago
tests: print failed testname instead of docstring upon failure

d47d404e557333e29cdb07fd4c1ce2d90c403110 authored over 6 years ago
tests: Disallow use of util.subp except for where needed.

In many cases, cloud-init uses 'util.subp' to run a subprocess.
This is not really desirable in ...

a8dcad9ac62bb1d2a4f7489960395bad6cac9382 authored over 6 years ago
sysconfig: refactor sysconfig to accept distro specific templates paths

Multiple distros use sysconfig format but have different content
and paths to certain files. Up...

db50bc0d999e3a90136864a774f85e4e15b144e8 authored over 6 years ago