summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-14This patch adds a cloud-init plugin for helping users registerBrent Baude
and subscribe their RHEL based systems. As inputs, it can take: - user and password OR activation key and org | requires on of the two pair - auto-attach: True or False | optional - service-level: <string> | optional - add-pool [list, of, pool, ids] | optional - enable-repos [list, of, yum, repos, to, enable] | optional - disable-repos [list, of, yum, repos, to, disable] | optional You can also pass the following to influence your registration via rhsm.conf: - rhsm-baseurl | optional - server-hostname | optional
2015-05-01Fix exception when running with no arguments on Python 3Scott Moser
LP: #1424277
2015-05-01Update is_disk_used for changed enumerate_disk output.Scott Moser
LP: #1311463
2015-05-01fix 'Make pyflakes'Scott Moser
2015-05-01Azure: if user has set hostname, do not overwrite itScott Moser
Due to the way the azure boot works, where we identify the hostname to the fabric, we were inadvertently overwriting hostname that the user had set. LP: #1375252
2015-04-21sysvinit: make cloud-init-local run before networking is brought upScott Moser
While booting a VM from a snapshot image, network service use to find the residual network config scripts and use to configure the old IPs. cloud-init-local use to run later and populate the config scripts with latest information, which does not override the previous configuration. To solve this, we are ensuring that cloud-init-local runs before network. LP: #1275098
2015-04-21Fix +tests for GCE datasource not handling per-instance SSH keysJoshua Harlow
2015-04-21Add start of/improved CloudStack documentationJoshua Harlow
2015-04-21Update changelog with previously merged branchesJoshua Harlow
2015-04-21Don't overwrite the hostname if the user has changed it after we set itJoshua Harlow
2015-04-21Add functionality to fixate the uid of a newly added user.Joshua Harlow
2015-04-20GCE instance-level SSH keys override project-level keys. (LP: #1403617)Daniel Watkins
2015-04-20Support multiple metadata paths for metadata keys in GCE data source.Daniel Watkins
2015-04-20Rename found variable in GCE data source.Daniel Watkins
2015-04-20Refactor GCE metadata fetching to use a helper class.Daniel Watkins
2015-04-20Add test that missing GCE required key returns False.Daniel Watkins
2015-04-16fix cloud-config-archive handlingScott Moser
handling of cloud-config-archive input would fail in fully_decoded_payload. part.get_charset() would return a Charset object, but get_charset.input_codec is a string suitable for passing to decode. This handles that correctly, and is more careful about binary data inside input. The test added verifies that cloud-config inside a cloud-config-archive is handled correctly and also that binary data there is ignored without exceptions raised. LP: #1445143
2015-04-16pep8 fixesScott Moser
2015-04-15Don't overwrite the hostname if the user has changed it after we set itbrak
2015-04-15Reset host name after bounce has allowed walinuxagent to run successfully.Daniel Watkins
2015-04-15Add unit tests for Azure hostname bouncing.Daniel Watkins
Including minor refactoring to make mocking considerably easier.
2015-04-14Add functionality to fixate the uid of a newly added user.Gerhard Muntingh
2015-04-09systemd: use network-online instead of network.target (LP: #1440180)Scott Moser
don't declare a Wants/Requires on network.target; this is a passive target that should only be pulled in by implementors of the networking service. The requirement for network needs to be expressed as a dependency on network-online.target. LP: #1440180
2015-04-08Ensure cloud-local-init comes up before networkSurojit Pathak
This is to prevent network service use residual config, if available, viz. booting from snapshot image etc. Removing the dependency on remote_fs service.
2015-04-08Correcting the pkg-name to 'oauthlib' from 'oauth'Surojit Pathak
'make rpm' for 'redhat' distro was failing, as the requirement for dependency was not found, otherwise.
2015-04-03Initial CloudStack Documentation.Pierre-Luc Dion
2015-03-31adjust cc_snappy for snappy install package with config.Scott Moser
It was believed that to install a package with config the command was: snappy install --config=config-file <package> Instead, what was implemented in snappy was: snappy install <package> [<config-file>] This modifies cloud-init to invoke the latter and changes the tests appropriately. LP: #1438836
2015-03-27fix snappy package installation.Scott Moser
Some tests added here to make sure this works. The install '--config' will only start to work with the next version of snappy-go. LP: #1437137
2015-03-27allow-unauthenticated when done from local fileScott Moser
2015-03-27do not use setScott Moser
2015-03-27remove debugScott Moser
2015-03-27be more user-friendly when looking for matching .configScott Moser
On fspath installs, look for .config files harder. Given a file named: pkg.namespace_0.version_arch.snap We'll search for config files named: pkg.namespace_0.version_arch.config pkg.namespace.config pkg.config
2015-03-27merge from trunkScott Moser
2015-03-27NoCloud: the local portion of NoCloud incorrectly claimed datasourcesScott Moser
The intent has always been for the local datasource (NoCloud) to require the provider of metadata to provide 'dsmode=local'. If that wasn't found, then the default 'dsmode' would be 'net', and the NoCloudNet datasource would then find the data. The bug here was that the default 'net' wasn't being set when data was found on a local source.
2015-03-27fix read_installScott Moser
2015-03-27address namespacingScott Moser
2015-03-27set snappy command earlierScott Moser
2015-03-27change 'configs' to 'config', and namespace input to 'snappy config'Scott Moser
the input to 'snappy config <packagename>' is expected to have config: <packagename>: content: So here we pad that input correctly. Note, that a .config file on disk is not modified. Also, we change 'configs' to just be 'config', to be possibly compatible with the a future 'snappy config /' that dumped: config: pkg1: data1 pkg2: data2
2015-03-26fix scope so that SNAPPY_CMD is affected by set_snappy_commandScott Moser
2015-03-26mention ubuntu-coreScott Moser
2015-03-26improve doc, change 'click_packages' path to be 'snaps'Scott Moser
2015-03-26rad_pkg_data: return data, fix undefined variableScott Moser
2015-03-26encode needed for yaml_dumpsScott Moser
2015-03-26prefer snappy-go to snappyScott Moser
2015-03-26add tests for data typesScott Moser
2015-03-26pep8Scott Moser
2015-03-26pep8, and some more testsScott Moser
2015-03-26start of snap_op testsScott Moser
2015-03-26commit work in progress. tests pass.Scott Moser
2015-03-25Update SmartOS data source to use v2 metadata.Scott Moser
v2 metadata is described at http://eng.joyent.com/mdata/protocol.html LP: #1436417