Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-03-06 | no need to check explicitly for user-data | Scott Moser | |
2012-03-06 | file for user-data should be 'user-data' (including the '-') | Scott Moser | |
2012-03-06 | functional read_maas_seed_url | Scott Moser | |
This commits a generally functional read_maas_seed_url, and re-works how the content is checked, to share between read_maas_seed{url,dir}. | |||
2012-03-06 | add headers_cb to doc for wait_for_url | Scott Moser | |
2012-03-06 | move wait_for_metadata_service for util, rename to wait_for_url | Scott Moser | |
Also, add in the headers_cb which will be required for oauth. | |||
2012-03-06 | Add initial DataSourceMaaS. | Scott Moser | |
Tests at this point seem to indicate that seed-dir would work. | |||
2012-03-01 | return public-keys as a list if it is a list | Scott Moser | |
if public-keys in metadata are a list (rather than a dict), then return them as such. This allows populating NoCloud keys with: public-keys: - ssh-rsa .... myname.mylabel - ssh-dsa .... myname.mylabel2 Or: cat <<EOF public-keys: $(ssh-add -L | sed 's,^\(.*\), - "\1",') EOF | |||
2012-02-28 | fix docstring for is_container | Scott Moser | |
2012-02-28 | DataSourceNoCloud: fix local cloud sources other than from devices | Scott Moser | |
The purely local non-device (vfat/iso9660) sources were broken by the last set of changes here. This restores them to functional. If the seed is from a device, then the default behavior is to be 'net' mode. For seed via cmdline, the user can specify 'ds=nocloud-net' and for seed via filesystem seed dir, they can just populate the other directory. To make it easier, when attaching a seed device, the user does not need to specify 'dsmode' of 'net' in the metadata file. They still can, but that is the default. It seems that that is more likely to be what is desired. LP: #942695 | |||
2012-02-28 | address change in name of lxc-is-container to running-in-container | Scott Moser | |
Also improves the logic in is_container following ubuntu's /etc/init/container-detect.conf . LP: #941955 | |||
2012-02-28 | Catch exceptions from part-handlers and log the error before continuing. | Scott Moser | |
This branch also adds tests for part-handler registration and part-handler handling. | |||
2012-02-21 | Cleanups. | Mike Milner | |
2012-02-21 | Lint fixes. | Mike Milner | |
2012-02-21 | Add test and fix for catching exceptions. | Mike Milner | |
2012-02-17 | ConfigDrive: better support public-keys in meta flags | Scott Moser | |
This makes the user able to pass in multi-line input to the public-key flag, and it will be handled correctly (just as if it came from the authorized_keys file) | |||
2012-02-17 | support reading network interface config from DataSourceNoCloud | Scott Moser | |
document usage of DataSourceNoCloud from vfat or iso disk. | |||
2012-02-17 | DataSourceConfigDrive: update interfaces (and ifup) only on local | Scott Moser | |
Previously, the 'ifup --all' and update of /etc/network/interfaces was done only if the specified 'dsmode' (which defaults to 'pass') was either 'pass' or *this* dsmode. That meant that it would be updated once on DataSourceConfigDrive and on DataSourceConfigDriveNet. This changes that to only happen on local. | |||
2012-02-17 | DataSourceConfigDrive: change 'interfaces' to 'network-interfaces' | Scott Moser | |
Instead of a metadata entry named 'interfaces', use 'network-interfaces' which is a somewhat less likely namespace collision. | |||
2012-02-17 | fix pylint warnings | Scott Moser | |
2012-02-16 | DataSourceNoCloud: allow reading user-data and meta-data from simple files | Scott Moser | |
This allows you to attach a disk in ISO9660 or vfat filesystem format labeled 'cidata' with 'user-data' and 'meta-data' on it. It provides a much easier way to interact with cloud-init in nocloud than mounting the image or the OVF method. | |||
2012-02-16 | DataSourceConfigDrive: generally seems functional | Scott Moser | |
2012-02-16 | initial version of DataSourceConfigDrive | Scott Moser | |
2012-02-15 | DataSourceOVF: only search for OVF data on ISO9660 filesystems | Scott Moser | |
I believe this will resolve LP: #898373 by making DataSourceOVF restrict its mounting of filesystems to iso9660. By doing this, it will never mount a ext3 (or btrfs or any fs that mountall would fsck) and thus will avoid any races with that. LP: #898373 | |||
2012-02-15 | fix update-etc-hosts, 'manage_etc_hosts' is not a boolean, but a string | Scott Moser | |
2012-02-11 | add support for salt minions | Jeff Bauer | |
2012-01-30 | support empty lines in '#include' files (LP: #923043) | Scott Moser | |
LP: #923043 | |||
2012-01-30 | netinfo.py: minor pylint complaint on unused 'devname' | Scott Moser | |
2012-01-20 | in netinfo output (ci-info:), fill in empty fields with a "." | Scott Moser | |
If you were trying to parse this output with something, an empty field would be difficult to handle, as you'd have to know the expected lengths of each field. The '.' means empty, but then all fields are non-whitespace delimited by one or more whitespace. | |||
2012-01-18 | Add HP to Copyright, and Juerg Haefliger Authors. | Scott Moser | |
This copyright change reflects previous changes that Juerg made for pylint and pep8 cleanups. From: Juerg Haefliger <juerg.haefliger@hp.com> Date: Mon, 16 Jan 2012 10:45:12 +0100 | |||
2012-01-17 | add support for add/remove CA Certificates via cloud-config (LP: #915232) | Scott Moser | |
LP: #915232 | |||
2012-01-17 | remove occurences of pylint W0621 (Redefining name xyz from outer scope) | Scott Moser | |
2012-01-17 | remove usage of global (no longer need --disable=W0603) | Scott Moser | |
2012-01-17 | remove need for global pylint disable of W0402 | Scott Moser | |
This is actually a pylint bug, but it considers use of string.letters and string.whitespace deprecated. | |||
2012-01-17 | remove duplicate imports | Scott Moser | |
2012-01-17 | remove some pylint line disablings | Scott Moser | |
2012-01-17 | [PATCH] PEP8 coding style fixes. | Scott Moser | |
From: Juerg Haefliger <juerg.haefliger@hp.com> This pulls in the named patch for LP: #914739 with a few other changes. | |||
2012-01-17 | [PATCH 4/4] Fix pylint conventions C0301 (line too long) | Scott Moser | |
From: Juerg Haefliger <juerg.haefliger@hp.com> | |||
2012-01-17 | Merge from trunk. | Mike Milner | |
2012-01-17 | [PATCH 3/4] Fix pylint conventions C0324 (comma not followed by a space) | Scott Moser | |
From: Juerg Haefliger <juerg.haefliger@hp.com> | |||
2012-01-17 | Lint fixes. | Mike Milner | |
2012-01-17 | [PATCH 2/4] Fix pylint conventions C0322 (operator not preceded by a space) | Scott Moser | |
From: Juerg Haefliger <juerg.haefliger@hp.com> | |||
2012-01-17 | [PATCH 1/4] Fix pylint conventions C0321 (more than one statement on a ↵ | Scott Moser | |
single line) From: Juerg Haefliger <juerg.haefliger@hp.com> | |||
2012-01-17 | Use delete_dir_contents from cloudinit.util. | Mike Milner | |
2012-01-17 | Added delete_dir_contents function to cloudinit.util. | Mike Milner | |
2012-01-17 | Convert code to use the write_file function from cloudinit.util. | Mike Milner | |
2012-01-17 | Comment and doc cleanup. | Mike Milner | |
2012-01-17 | Add unit tests for util.write_file. | Mike Milner | |
2012-01-16 | Small docstring fix. | Mike Milner | |
2012-01-15 | Added function for deleting default trusted CA certs. | Mike Milner | |
2012-01-14 | Handle config flag for removing default trusted CAs. | Mike Milner | |