Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-02 | eni parsing: support 'ether' in hwaddress, netmask and broadcast | Scott Moser | |
this adds ability to support ENI that has: hwadress ether 36:4c:e1:3b:14:31 or hwaddress 36:4c:e1:3b:14:31 the former is written by openstack (at least on dreamhost). Also, in the conversion of eni to network config support broadcast and netmask. | |||
2016-06-02 | openstack: support decoding when reading files, use that for network_config | Scott Moser | |
The network config file is /etc/network/interfaces formated. We will decode that here so that the user can expect that it is a string. The issue was that it was bytes but convert_eni_data was expecting a string. | |||
2016-06-02 | Improve merging documentation | Daniel Watkins | |
2016-06-02 | Integrate MP feedback | Daniel Watkins | |
2016-06-02 | fix tox | Scott Moser | |
2016-06-02 | fix log message in emit_upstart | Scott Moser | |
2016-06-02 | SmartOS: datasource improvements, support for networking information. | Scott Moser | |
This adds support for reading networking information from the SmartOS metadata service and applying. | |||
2016-06-01 | revert unintended change to tox.ini | Scott Moser | |
2016-06-01 | clean up log message a bit. | Scott Moser | |
2016-06-01 | cloudinit/stages.py: if no datasource found, do not attempt is_new_instance | Scott Moser | |
if local does not find a datasource, then we try to apply networking. but that would then hit the NULL_DATA_SOURCE which does not work with is_new_instance. avoid that. | |||
2016-06-01 | support renaming and fix logic in rename_interfaces | Scott Moser | |
The one issue i'm aware of currently is that tap devices (ip tuntap add mode tap user root mytap1) do not work correctly with 'is_up' which means the check does not bring them down and the rename fails. The LOG.debug message should be cleaned up too, as it currently references the function rather function.__name__ for nicer message. | |||
2016-05-31 | add renaming code for renaming interfaces | Scott Moser | |
currently does not work in lxc https://github.com/lxc/lxd/issues/2063 | |||
2016-05-31 | use constants for kvm and lx-brand | Scott Moser | |
2016-05-30 | merge with last upstream to avoid merging conflicts on MP | Christian Ehrhardt | |
2016-05-30 | fix EXPORT_GPG_KEYID for existing keys | Christian Ehrhardt | |
This was broken for keys already existing in the local keyring. There instead of the keycontent it reported the header like: pub 1024R/03683F77 2009-10-27 uid Launchpad PPA for Scott Moser | |||
2016-05-30 | improve wording in the examples | Christian Ehrhardt | |
2016-05-30 | add test for wrong apt_source format | Christian Ehrhardt | |
2016-05-30 | drop errorlist from convert_to_new_format | Christian Ehrhardt | |
2016-05-27 | remove blocking udev functionality | Scott Moser | |
This didn't really work. See bug for more info. LP: #1577844 | |||
2016-05-27 | fix test cases by avoiding rendering paths to early | Scott Moser | |
2016-05-27 | assertEqual | Scott Moser | |
2016-05-27 | return dict not None on get_config_obj | Scott Moser | |
2016-05-27 | assertEquals | Scott Moser | |
2016-05-27 | add a unit test for conversion | Scott Moser | |
2016-05-27 | smartos is local, but it is named DataSourceSmartOS not DataSourceConfigDrive | Scott Moser | |
2016-05-27 | Smartos datasource is local. | Scott Moser | |
2016-05-27 | add nicer main | Scott Moser | |
2016-05-27 | remove debug print | Scott Moser | |
2016-05-27 | fix pyflakes and flake8 | Scott Moser | |
2016-05-27 | fix the remaining tests | Scott Moser | |
2016-05-27 | fix a bunch of the tests | Scott Moser | |
2016-05-27 | merge from trunk | Scott Moser | |
2016-05-27 | fix pyflakes and some pylint errors/warnings | Scott Moser | |
2016-05-27 | fix pyflakes, move datasources= to bottom | Scott Moser | |
2016-05-26 | Move sdc:nics to a JSON map. Add unittest for sdc:nics | Ryan Harper | |
2016-05-26 | fix is_new_instance() to work better | Scott Moser | |
2016-05-26 | hide the instance_id file in /run/cloud-init by using .instance_id | Scott Moser | |
i dont want to expose this as i'd rather have some json there or write to /run/cloud-init/status.json . would also like to indicate 'first_boot' somewhere. | |||
2016-05-26 | Add smartos sdc:nics converter and network_config property for smartos ↵ | Ryan Harper | |
configdrive | |||
2016-05-26 | fix logic in is_new_instance | Scott Moser | |
2016-05-26 | fixes. seemingly working first boot on config drive | Scott Moser | |
bigger things here: * fix the checking for stop_files. the check for no-net actually checked the size of the file and the implementation was just touching it. so it never would have been found. no-net is valid only in upstart anyway. do not stop early on presense of the obj_pkl but check it. this is required since we write the obj_pkl on exit when local mode finds a datasource but found in network mode. * use 'mode' rather than checking args.local. set mode to be sources.DSMODE_NETWORK or sources.DSMODE_LOCAL for easier / more consistent checking. * log exit paths. | |||
2016-05-26 | fix typos in names | Scott Moser | |
2016-05-26 | compare instance id to get_instance_id() not the function itself. | Scott Moser | |
2016-05-26 | merge with trunk | Scott Moser | |
2016-05-26 | fix usage of instance-id to instance_id in runpath, update cache on instancify | Scott Moser | |
the fix for instance_id is clear and necessary. making instancify write the cache is required for how we are having the local datasource be relevant. | |||
2016-05-26 | cloudinit/helpers.py: _get_path raise KeyError if input is bad. | Scott Moser | |
previously, if you did: paths.get_ipath("bogus") it would silenetly hand you back just the directory. now it will fail, which seems much more sane. | |||
2016-05-26 | config drive: log where network config came from | Scott Moser | |
2016-05-26 | clarify a comment | Scott Moser | |
2016-05-26 | packages/bddeb: update to know package mappings for flake8 and hacking | Scott Moser | |
packages/bddeb failed to work after flake8 and hacking were added to test-requirements.txt. The necessary fix is just to know about the debian package names for those pypi packages. | |||
2016-05-26 | kernel command line: override all local settings | Scott Moser | |
settings on the kernel command line (cc:) were documented to override all local settings, but a bug in implementation meant they would only override those that are in /etc/cloud/cloud.cfg, not any found in /etc/cloud/cloud.cfg.d. LP: #1582323 | |||
2016-05-25 | fix bring_up | Scott Moser | |