lp://staging/~harlowja/cloud-init/query-tool-is-back
- Get this branch:
- bzr branch lp://staging/~harlowja/cloud-init/query-tool-is-back
Branch merges
- Server Team CI bot: Needs Fixing (continuous-integration)
- cloud-init Commiters: Pending requested
-
Diff: 395 lines (+216/-33)6 files modifiedRequires (+1/-0)
bin/cloud-init (+36/-10)
cloudinit/pprint.py (+107/-0)
cloudinit/sources/__init__.py (+30/-0)
cloudinit/stages.py (+37/-21)
cloudinit/util.py (+5/-2)
Branch information
Recent revisions
- 649. By Joshua Harlow
-
Fix some pylint issues and update the datasource query
to just return a map describing the database and use the
borrowed pprint code to show this map in a nice CLI format.Also allow for printing of the init configuration as well
as the datasource via the query entrypoint. - 648. By Joshua Harlow
-
Updated with no encryption and
clearing out of the userdata/raw fields
to prevent access when querying. - 647. By Joshua Harlow
-
Start adding a query entrypoint with encryption using
aes of the userdata (raw and not raw) if possible using
the provided users (currently root) private ssh key sha256
hash as the secret (openssl was tried, didn't work due to
key file formats being all different). - 645. By Thomas Herve
-
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 (user-data or local) was non-empty. - 644. By Joshua Harlow
-
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 cloud-archive yaml types allowed (likes a tuple not a list
for some reason) (LP: #1044594)
4. Setting the 'part' content-type if what we actually use is different. - 643. By Ben Howard
-
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 default).The second change here is to fix the 'set_password' for the 'password'
cloud-config. if 'password' is set in cloud_config, then
* if 'users' is given, it applies to user[0]
* if 'users' is not given, then it applies to the distro default user - 642. By Joshua Harlow
-
support launch index specific user-data
EC2 and openstack provide 'launch_index' in their metadata. This allows
the user to specify cloud-config or multipart mime data that includes the
'Launch-Index' header.If launch index is available in the metadata service, then:
* any part that contains a launch index other than the current launch-index
of this instance will be ignored.
* any part that does not contain a launch index will be considered as
for this instance.If there is no such header, or launch_index is not available in the metadata
service, then no such filtering will be done. - 641. By Scott Moser
-
usergroup related fixes
- 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 where the default user groups are
not set properly (LP: #1044044).- Fixed documentation for user creation (LP: #1044508).
- 640. By Garret Holmstrom
-
update systemd unit files
The systemd unit files are somewhat out of date. Fixes here include telling
systemd to send stdout to a tty so it shows up in console output, updating the
ways they call cloud-init, and disabling timeouts so cloud-config work doesn't
get timed out after 90 seconds.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/~cloud-init-dev/cloud-init/trunk