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

Cleanup pylint warnings.

5f33046a1e059f23ce1f4aceeec33813c57a7b70 authored over 12 years ago
Add a basic signal test and write out all

the signal information in one block instead of many.

2899c638c04907461024dff0d32c1cc57ae4b6d4 authored over 12 years ago
only write landscape config if user-data provided

bc103ae9730922a3e8f8309b7f1a5e5443ee7142 authored over 12 years ago
fix hostname based on IP generation.

LP: #1050962

ccea8913191c4039c58d562a6dd13ca1d9ef81c5 authored over 12 years ago
remove 'start networking' from cloud-init-nonet

do not 'start networking' in cloud-init-nonet, but add
cloud-init-container job that runs only i...

31a145068f259e1c2affbab066cfd028ae901836 authored over 12 years ago
Fix hostname derived from IP. (LP: 1050962)

acdc3c45a3deefaf599627eee889d11299525c4c authored over 12 years ago
remove trailing whitespace

18cbd9ae7872f83b4eaccdbdf2cf5023b92d7812 authored over 12 years ago
only emit if there is a device present.

d2f00fd2af9417a91c78e9cab5747cd6e218aa39 authored over 12 years ago
add cloud-init-container.conf

This changes the way that we avoid cloud-init-nonet hanging in a container.
Previously, under LP...

67bf7722398278e7089098dfd683389ef4e418c5 authored over 12 years ago
Initial support for OpenNebula's contextualization disk.

c59e06c6d20ce585927f336630e8ae3cca12c110 authored over 12 years ago
Fix pylintness.

0f385445522cf8fe76391c0c0c855b6fa7ad9f50 authored over 12 years ago
Add capturing of basic signal handlers to

handle those signals more gracefully and
with better messaging than what comes builtin.

01ad8fc5b1928c01367b32022ceab09f1dc5dc26 authored over 12 years ago
do not convert type None to string in cfgmnt.

LP: #1046946

75bec162045856b39b483d11a0b3a7a75886efd2 authored over 12 years ago
add 'RUN=1' to /etc/default/landscape-client

This modifies /etc/default/landscape-client to have 'RUN=1' if and only
if the cloud-config (use...

1d239f9beec5d556e4551c684f551843c5553997 authored over 12 years ago
Check if the config was specified

c76daa63ecfa0901769f1cb8211465c06b33770c authored over 12 years ago
Add RUN=1 to the default file

f72512d8387b93eaf9c5bb7956361ad16e40376e authored over 12 years ago
improvements for launch index, one fix for cloud-archive

1. Docs for launch-index + examples
2. Tests for launch-index + data files
3. Fixing a bug with ...

3a35daa68ca7e6214be3f9c1e33a1cdde5f60eb4 authored over 12 years ago
remove 'admin' group for ubuntu user, fix change password

The admin group is deprecated in 12.04, so this removes the ubuntu
user from that group (by defa...

47a643296f6656bfda1ea13b5bc98dd4b60d7852 authored over 12 years ago
Fix pylint complaints.

a7bd5c448a6eda8b3d841f2dd5c73ed3956fe3c3 authored over 12 years ago
Add some examples on how to use the new launch-index

support in a cloud-archive format as well as a cloud-config
format and explain how this will affe...

c2e5c6fd4dc917d2d4fb23569b1615b76c695201 authored over 12 years ago
1. Add a helper for tests to use to load resource/data files from

2. Add a set of tests+data that ensure the launch index filtering
works as expected in the var...

1d67756be9e768ff9f55e7322c1ab3a6b5cdec34 authored over 12 years ago
When a parts content type is found to be different than

its original content type said it is, make sure we set
the new value, also unsure if the old top ...

ec911fd083db63521aa425203fb30dd6fc7302d5 authored over 12 years ago
Don't look into cloud-archive (after processing) for launch

indexes (since they will be handled beforehand) and fix
the types being checked on the root of th...

aae54b5e8e1aee908b01050aa6c9c821fe94195e authored over 12 years ago
Removed admin group from default Ubuntu user group list.

Fixed change password behavior to work with new user list handling
(LP: #1044553)

5988d5987982a60e13a37639d93ee08ffeb71ffd authored over 12 years ago
support launch index specific user-data

EC2 and openstack provide 'launch_index' in their metadata. This allows
the user to specify clou...

27118e7406237510ca56e969aa1b6d9152c8afbf authored over 12 years ago
usergroup related fixes

- Converted user list to user dict to allow exclusion of the default user
on Ubuntu systems vi...

c6e4c646287e26d15b8d2402527e1f77e21113cd authored over 12 years ago
incorrect example in doc

a90e2802b16b0af7b9cef718d19605e2a0565a8e authored over 12 years ago
fix pylint warning

27f0355a39e7b546b97e1ff725a9230bd57e3e35 authored over 12 years ago
- Converted user list to user dict to allow exclusion of the default user

on Ubuntu systems via cloud-config (LP: #1041384).

- Fixed bug with user creation on Ubuntu ...

b696c2a57821e0e1fe18400016c906b92f8c271e authored over 12 years ago
update systemd unit files

The systemd unit files are somewhat out of date. Fixes here include telling
systemd to send stdo...

53f276c22ef57f49bfae5c6ddc233043d0ef51ad authored over 12 years ago
Don't use walk and handle the walking ourselves to

ensure that we recreate all child messages correctly
if they also contain submessages, ensuring t...

ff60020fa3d8e457cf9d1d543af9193376bf598c authored over 12 years ago
fix busted cc_ssh_import_id

09cec0837a20f6cfafa520aa0ff2e484e1fd9c01 authored over 12 years ago
distros/ubuntu.py: remove unused import (pylint)

88908acf8c5766a7b08a60a797f2e65fe0a7fd3e authored over 12 years ago
For the userdata 'post-filtering' add in a new folder that

can contain filters that serve this purpose only and add in
the initial launch-index filter and r...

2e51e2efc292870479a7b972c7ebc9ceac85da6f authored over 12 years ago
move user-groups section from cloud-config.txt to its own file.

move the section on user and group adds into
doc/examples/cloud-config-user-groups.txt

64b14ee444ed55ee9fa1dee8b819fbe85aafcf2d authored over 12 years ago
fix bug preventing public_keys from being imported for to-be-created users

If a user hadn't been created in the image, when the public_key was to
be injected by cc_ssh int...

e0179ea4ba8f7024d9ce4e74c48f5ed95cd17167 authored over 12 years ago
clean up a bit, fix issue with missing 'log' argument to ssh_import_ids

e57e4524133c819a65730060c515b048fcb09c2f authored over 12 years ago
Fixed critical bug where user and group creation was being done after SSH

configurations were applied. The result of this bug was that cloud-config
supplied SSH public key...

c8cca3cc82c3c446c49bf23ff6e2805f2aaeef48 authored over 12 years ago
DataSourceEc2: require 'instance-data' as top level domain

In searching for the metadata service, require 'instance-data' to be at the top
level domain. P...

b81d5ed43e7ebed1d11d4b4109e22e9954316d4c authored over 12 years ago
Update so that the content types searched for launch-index

variable has a little more meaning and by default look in
metadata for 'launch-index' and have ec...

92b99b325b2d437825cc87253e76c756a136ff28 authored over 12 years ago
Ensure when an archive is exploded and if it contains the

'launch-index' key that we copy that key over to the right
header (which will then be used later ...

33cfadd8f35b3f4beb77f871b4173600e42bbe49 authored over 12 years ago
Fix tests running and add in a check on the content type

before we look into the payload as well as make the skip
test a function that the datasource modu...

7994ac0b1924cf0cc3e3e99ea6f11842f56bc4c8 authored over 12 years ago
Don't use the processed userdata if nothing is there.

ddc50b7450d5defcd1e05732fb3502d230926731 authored over 12 years ago
Add the capability to understand and filter on

userdata based on a launch-index (or leave userdata
alone if none is provided by the datasource)....

6a803e2fba17ab74973038c1a93654c3127c223f authored over 12 years ago
add support for the config-drive-v2 datasource

config-drive-v2 was implemented in openstack at
https://review.openstack.org/#/c/11184/ . This...

e345c95b9851ada5062304a9a99364da9abb674b authored over 12 years ago
add changelog entry

ed96b524a4c3b3985931d30b254a29466486d2c3 authored over 12 years ago
fix test case for copy of uuid -> instance-id

f19d5701fe34374f674d7fd334184d51aae061c4 authored over 12 years ago
use openstack metadata version 2012-08-10 unless not available

If 'latest' is found, but '2012-08-10' is not, we will log a warning
but attempt to use it.

c883c28c8abd00e9681ddcee97ac2f1ab5b33883 authored over 12 years ago
use instance-id, not previous-instance-id.

at the point where we are getting the previous instance id, there
cloud-init hasn't performed th...

0a84d4e669913fe221a61a34641252d6b172299f authored over 12 years ago
use 'uuid' as 'instance-id'

openstack metadata uses 'uuid' as an instances 'instance-id'.
just copy that to the metadata['in...

cd47f4a6ae1249c3b516259edaa79fcc80a5990b authored over 12 years ago
committing in preparation for actual test

7a6543aebc06157c1ec2ee78dc086a84490e2a25 authored over 12 years ago
some more tests.

aab21187a193b541ff009003b7337042a1d9d5c9 authored over 12 years ago
fix pep8 and pylint

5d57d93ff5e505e081abf2ff98569aa00fe679da authored over 12 years ago
initial functional unit test

085ce6b6fcc86101b3c5cc6fe40f66451034f453 authored over 12 years ago
add support for creating initial users and groups

Added "userless" mode to cloud-init for handling the creation of the users
and the default user ...

55f6e4cb09d568d1a0679c41570b5c6d570a16f0 authored over 12 years ago
cc_ssh.py: add the "get user zero" logic, disable root even if no user

cc_ssh.py was getting user of None, which ended up with a root user
not getting ssh keys updated...

bbbaeca0c375dc166ef8ffe0598d5f384b722c00 authored over 12 years ago
do not attempt the useradd command if user exists

Previously we were only logging that the user existed
and then still trying to run the command (...

700cb1a5d568dae2ecc8a9620874cebca97536a5 authored over 12 years ago
pep8 fixes

fc8f46d5f49c29d234560749bdf9789812571327 authored over 12 years ago
fix duplicate flags being passed to useradd

Fix bug here:
adduser_cmd = ['useradd', name]
x_adduser_cmd = adduser_cmd
is different than
x...

d05dd3963eda608df0b14042e8548d42c860835e authored over 12 years ago
remove now pointless __init__ in ubuntu

2916a7be3bf416651458dc6640d67bd9ca173f0d authored over 12 years ago
distros: add_default_user is no longer abstract

bf03883b75637d4816c3712fbf63b2c42f6e648b authored over 12 years ago
fix issues from 'make pylint'

In an effort to pylint errors about NonImlementedError and
add_default_user, I moved this method...

2de30c15e706a9610c19979886f13addecf7ea1b authored over 12 years ago
fix errors from 'make pep8'

d59ab509f6482b8b3af4fd9f2728ad1209d5b2e2 authored over 12 years ago
Merge with lp:cloud-init

6564861d44f843bb4e339db5691021ec7a95c511 authored over 12 years ago
Simplified users[0] detection, and ensured compatability with previous user password control code

a6752e739a0bb9052585b9b043ce1964bd77bb42 authored over 12 years ago
Fix the userdata population in DataSourceNone

Fix the userdata being populated to a dict (incorrect)
and let it instead be populated by the us...

56979d20b9c56c45bfbcaf93bc5f93fa505ece50 authored over 12 years ago
add apt_reboot_if_required to reboot if required

If an upgrade or package installation forced a reboot (such as a kernel
upgrade), then we can op...

7b715270f0720c565af50e102d761cd83cb3569b authored over 12 years ago
rework package mirror selection

There are several changes here.
* Datasource now has a 'availability_zone' getter.
* get_packa...

43c55aca8c7ee17471b709a6a348c318db165a92 authored over 12 years ago
improve the check for "uses unknown key" in mirror templates

instead of substituting and then checking for presense of a unlikely to
occur string, this only ...

0781b86b414b73c8b5dd9123bda95b7dd74b0243 authored over 12 years ago
fix for pep8 issues and seemingly functional now.

cb740b3018f55c21bda3a38b216d4ed61ab30d42 authored over 12 years ago
merge from trunk for pep8 fixes

0bc9f3aad55b6b1d50f80ef1b1688c2ceb1c8a84 authored over 12 years ago
fix pep8 complaints.

make pep8 now is silent on precise's pep8 ( 0.6.1-2ubuntu2).

451e48732ff7885502db2f8296777fa58b670f3b authored over 12 years ago
Fix the userdata being populated to a dict (incorrect)

and let it instead be populated by the userdata processor
with the raw userdata (either empty or ...

3e3e9e90c7eefe2e0a14f9055d23856939aea269 authored over 12 years ago
return results from datasource.get_package_mirror_info

26dd7461ce7ce9a6cba541ece94b802df772168b authored over 12 years ago
add test

1c086a14f38b0d18ecc71e6a28db87c27d30865f authored over 12 years ago
rework package mirror selection

There are several changes here.
* Datasource now has a 'availability_zone' getter.
* get_packa...

d713d7bc5e2b308d11364ccc8701fc2968f9f151 authored over 12 years ago
fix pylint in cc_ssh_authkey_fingerprints.py

49242c2a2e7e0ab6812de741b4ac2e8d1888ad08 authored over 12 years ago
remove committed conflicts in previous merge

e60058ce92b59883da221d3e889ed62bd9b69c14 authored over 12 years ago
Implemented MP feedback.

3f4a556e59b127d2fb6ebb57a8a42f6a71248b59 authored over 12 years ago
remove duplicate printing of authorized keys to the console

see LP: #1039303 for more information. Hopefully we'll get a good
fix there.

e65604ca64e16c4ee5bf2467c4424954eddfc390 authored over 12 years ago
authkey_fingerprints: Fix columns headers, do not print empty lines

This fixes the column headers and and adds a check to make sure that a key
given is one that we ...

abf3d804fab340aa18b1b5983f9dc69234d37cf1 authored over 12 years ago
Add the "None" datasource

The None datasource is the last resort fallback datasource. It is
identifiable by a property 'i...

989252019b14c7147367ffddaa990b371438fa7c authored over 12 years ago
Dropped hidden command; replaced with logstring. Also changed useradd command to use log options over short

8aa59086146062fc767349be086fe0c35bf9c477 authored over 12 years ago
fix config for proper spelling of 'authkey'

a2ebfe8f6f31ae6972620f271ab9fa935d46dff1 authored over 12 years ago
Added "userless" mode to cloud-init for handling the creation of the

users and the default user on Ubuntu.

cloudinit/config/cc_users_groups.py: new cloud-config modu...

336ddbe13bdfc729495f5bfb8cc89b4360916157 authored over 12 years ago
mark bug 1010582 as fixed.

This was fixed in the previous commit, but not marked explicitly as such.

LP: #1010582

74d688eb4d18a4e072f66ac45f04655207af57c7 authored over 12 years ago
add ssh-authkey-fingerprint config module, to print fingerprints to console

Example output:
ci-info: +---------+-------------------------+---------+-----------------+
ci-in...

c54ba02b176a2f8e43820a6df0ddd2c68b79c9e7 authored over 12 years ago
Remove the matching of the filesystem dep and

add in the ability to use any fallback userdata
or metadata found in the datasource config (if pr...

c1d2bc7ff9824b967cca21ed0254e4ee47168b10 authored over 12 years ago
Fixup the columns and add a check to make

sure that a key given is one that we actually
want to print out. Also add in a config option
whic...

d308ee4363d7b9601f73dbd9166594c16f9e9601 authored over 12 years ago
Add a 'none' datasource as a last resort fallback

1. This will allow a basically empty datasource to be
activated (as the last datasource) when...

0247b1be0ae3d1bc913b5e368dadf22e26b54b86 authored over 12 years ago
Add support for printing out the authkey's for the default user.

1. Adjust the sshutil so that it has functions
for doing this (used by the previous functions...

4a86775c9cff53a5598db8f4a395abe7c228a147 authored over 12 years ago
doc: move datasource documentation to doc/sources

Each datasource had a bit of doc with it, and those were just
landing in doc/. I've moved them ...

4540821caa31dc9ed0bedf521cd36975ddafebfa authored over 12 years ago
Add RHEVm and vSphere support as datasource AltCloud

These changes add a new data source to cloud-init to support passing user
data to RHEVm and vSph...

9dabd3ea0bf99a649d0156d137edeb5f3b1c098a authored over 12 years ago
move cloud-config event to a config module

Move the code that did the 'cloud-config' upstart event name emitting to a
config module and mak...

cfd72f2833c5f8ca71a86da06a67ffbfce7f39f5 authored over 12 years ago
add test to excercise udevadm usage.

213e18a5cd826445c36ac613e7e7459f24cffb4b authored over 12 years ago
Add the translation from the ubuntu format for nameservers and dns search

servers and add in the writing of /etc/resolv.conf in rhel from that translation.

2487e4f4498492f6b7bb0b144264bf7bd0544025 authored over 12 years ago
Address review feedback for:

https://code.launchpad.net/~joev-n/cloud-init/altcloud-changes/+merge/116542/comments/255564
http...

6205d39ad5fed1bba31e4a97656beb213db251bc authored over 12 years ago
Adjustments so that the default old event is used when

no args are provided. Adjust the config file to use this
older method so that older changes aren'...

e7116b69f093600e1e156ee332417d0a30b0df9c authored over 12 years ago
Move the code that did the 'cloud-config' upstart event name emitting to

a config module and make it more generic in that it can take in a list
of event names to emit as ...

d9a4aad5d5cc8cb78997d66850d1916341b8d1cd authored over 12 years ago
fix pylint in all files used by ./tools/run-pylint

'make pylint' was not checking tests and tools.
This fixies a bunch of pylint/pep8 issues in tha...

0243c5d9c7948e247a85870a24835e2f5ce92cb0 authored over 12 years ago