summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
...
* Add the beginnings of module documentationJoshua Harlow2014-10-232-2/+340
|
* Add documentation for DigitalOcean datasourceNeal Shrader2014-10-171-0/+21
|
* update url in config drive documentation0.7.6Scott Moser2014-10-101-1/+1
|\
| * Fix link for config_drive docThomas Bechtold2014-09-271-1/+1
| | | | | | | | The current link does no longer work.
* | add docScott Moser2014-09-301-0/+7
|/
* docs: fix disk-setup to reference 'table_type'Scott Moser2014-08-221-8/+8
|
* doc: fix user-groups doc to reference plural ssh-authorized-keysScott Moser2014-06-091-1/+1
|
* CloudSigma: support user-data being base64 encodedKiril Vladimiroff2014-03-041-0/+4
|\ | | | | | | | | | | This adds the ability to read a 'base64_fields' entry in the metadata, and if cloud-init-userdata is listed in that, then content will be base64 decoded first.
| * Read encoded with base64 user dataKiril Vladimiroff2014-02-191-0/+4
| | | | | | | | | | | | | | This allows users of CloudSigma's VM to encode their user data with base64. In order to do that thet have to add the ``cloudinit-user-data`` field to the ``base64_fields``. The latter is a comma-separated field with all the meta fields whit base64 encoded values.
* | write status to /run/cloud-init/ for external consumptionScott Moser2014-03-031-0/+53
|\ \ | |/ |/| | | | | | | | | | | This populates and maintains status.json and result.json with json formated data about cloud-init's errors and datasource. It is intended to be consumed by other programs that want to wait until cloud-init is done, or know its success.
| * fix end/start in docScott Moser2014-02-241-5/+5
| |
| * add doc/status.txtScott Moser2014-02-241-0/+51
|/
* cloudsigma: change default dsmode to 'net'Scott Moser2014-02-131-3/+3
| | | | | | | | | | Previously this had 'local' as the default datasource mode, meaning that user-data code such as boot hooks and such would not be guaranteed to have network access. That would be out of sync with the expectation on other platforms where the default is 'network up'. The user can still specify 'dsmode' as local if necessary and the local datasource will claim itself found.
* merge from trunkScott Moser2014-02-121-0/+10
|\
| * Add 'unverified_modules' config option and skip unverified modulesScott Moser2014-02-121-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Config modules are able to declare distros that they were verified to run on by setting 'distros' as a list in the config module. Previously, if a module was configured to run and the running distro was not listed as supported, it would run anyway, and a warning would be written. Now, we change the behavior to skip those modules. The distro (or user) can specify that a given list of modules should run anyway by declaring the 'unverified_modules' config variable. run_once modules will be run without this filter (ie, expecting that the user explicitly wanted to run it).
* | Add CloudSigma data sourceKiril Vladimiroff2014-02-121-0/+34
|/
* oopsDavid Britton2014-02-101-1/+1
|
* properlly format the landscape exampleDavid Britton2014-02-101-4/+4
|
* Rebasing on trunkBen Howard2014-01-241-1/+2
|\
| * pep8/pylint fixesScott Moser2014-01-241-1/+2
| | | | | | | | | | | | | | tools/run-pep8 wasn't checking all python files. tools/run-pylint wasnt checking bin/cloud-init fixed resultant pep8 issues after finding them.
* | Fixes for SmartOS datasource (LP: #1272115):Ben Howard2014-01-241-18/+74
|/ | | | | | | | | 1. fixed conflation of user-data and cloud-init user-data. Cloud-init user-data is now namespaced as 'cloud-init:user-data'. 2. user-scripts are now fetched from the meta-data service each boot and executed as in the scripts directory 3. datacenter name is now namespaced as sdc:datacenter 4. user-scripts should be shebanged if there is no file magic
* cloud-config-landscape.txt: improve documentationScott Moser2014-01-211-0/+7
|
* more boto removal. move httpretty from 'Requires'Scott Moser2014-01-171-4/+0
| | | | | | | | | the Requires would get that string rendered into the package's Depends/Requires (rather than BuildDepends/BuildRequires). We should have BuildDepends/BuildRequires too, but since trunk's package builds do not run 'make test', this isn't a big deal. This also adds 'test-requires' for httpretty.
* merge from trunkScott Moser2014-01-171-3/+1
|\
| * remove support for resizing via 'parted resizepart'Scott Moser2014-01-171-3/+1
| | | | | | | | | | | | This was previously broken anyway. It doesn't seem like there was an easy way to actually support it, so for now I'm removing it entirely. growpart works well enough.
* | doc improvementsScott Moser2014-01-171-74/+34
| |
* | pep8 and pylint fixes; typo fix for documentationBen Howard2014-01-171-1/+1
| |
* | Merge with upstream sourcesBen Howard2014-01-093-217/+221
|\ \ | |/
| * support calling apt with eatmydata, enable by default if available.Scott Moser2013-12-141-2/+7
| | | | | | | | | | | | | | | | | | | | This allows a general config option to prefix apt-get commands via 'apt_get_wrapper'. By default, the command is set to 'eatmydata', and the mode set to 'auto'. That means if eatmydata is available (via which), it will use it. The 'command' can be either a array or a string.
| * fix 'make yaml'.Scott Moser2013-12-123-215/+214
| |
* | Significant re-working of the userdata handling and introduction ofBen Howard2014-01-082-0/+109
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vendordata. Vendordata is a datasource provided userdata-like blob that is parsed similiarly to userdata, execept at the user's pleasure. cloudinit/config/cc_scripts_vendor.py: added vendor script cloud config cloudinit/config/cc_vendor_scripts_per_boot.py: added vendor per boot cloud config cloudinit/config/cc_vendor_scripts_per_instance.py: added vendor per instance vendor cloud config cloudinit/config/cc_vendor_scripts_per_once.py: added per once vendor cloud config script doc/examples/cloud-config-vendor-data.txt: documentation of vendor-data examples doc/vendordata.txt: documentation of vendordata for vendors (RENAMED) tests/unittests/test_userdata.py => tests/unittests/test_userdata.py TO: tests/unittests/test_userdata.py => tests/unittests/test_data.py: userdata test cases are not expanded to confirm superiority over vendor data. bin/cloud-init: change instances of 'consume_userdata' to 'consume_data' cloudinit/handlers/cloud_config.py: Added vendor script handling to default cloud-config modules cloudinit/handlers/shell_script.py: Added ability to change the path key to support vendor provided 'vendor-scripts'. Defaults to 'script'. cloudinit/helpers.py: - Changed ConfigMerger to include handling of vendordata. - Changed helpers to include paths for vendordata. cloudinit/sources/__init__.py: Added functions for helping vendordata - get_vendordata_raw(): returns vendordata unprocessed - get_vendordata(): returns vendordata through userdata processor - has_vendordata(): indicator if vendordata is present - consume_vendordata(): datasource directive for indicating explict user approval of vendordata consumption. Defaults to 'false' cloudinit/stages.py: Re-jiggered for handling of vendordata - _initial_subdirs(): added vendor script definition - update(): added self._store_vendordata() - [ADDED] _store_vendordata(): store vendordata - _get_default_handlers(): modified to allow for filtering which handlers will run against vendordata - [ADDED] _do_handlers(): moved logic from consume_userdata to _do_handlers(). This allows _consume_vendordata() and _consume_userdata() to use the same code path. - [RENAMED] consume_userdata() to _consume_userdata() - [ADDED] _consume_vendordata() for handling vendordata - run after userdata to get user cloud-config - uses ConfigMerger to get the configuration from the instance perspective about whether or not to use vendordata - [ADDED] consume_data() to call _consume_{user,vendor}data cloudinit/util.py: - [ADDED] get_nested_option_as_list() used by cc_vendor* for getting a nested value from a dict and returned as a list - runparts(): added 'exe_prefix' for running exe with a prefix, used by cc_vendor* config/cloud.cfg: Added vendor script execution as default tests/unittests/test_runs/test_merge_run.py: changed consume_userdata() to consume_data() tests/unittests/test_runs/test_simple_run.py: changed consume_userdata() to consume_data()
* Documentation: fix name of "cloud-init-per" commandRobie Basak2013-10-311-1/+1
|
* mention in docScott Moser2013-10-241-0/+4
|
* power_state_change: convert an int input for delay to string, improve docScott Moser2013-10-091-1/+10
| | | | | | | | | | | this adds 'timeout' to the documentation for power_state_change, and supports delay being an integer or a string. This is so that yaml can contain: delay: 30 rather than delay: "+30" or dealy: "30"
* Added support for 'ephmeral0.<auto|any|0>' for device mappings in diskBen Howard2013-10-031-1/+10
| | | | formating support.
* merge from trunkScott Moser2013-10-031-0/+9
|\
| * cc_growpart: respect /etc/growroot-disabled Scott Moser2013-10-021-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cloud-initramfs-growroot is an initramfs module in cloud-initramfs-tools that resizes the root partition before the root is pivoted over. growroot was used in Ubuntu up to and including 12.10. The file /etc/growroot-disabled on the root filesystem was the only way of disabling the growing of the root partition. In cloud-init 0.7.2 cloud-init began resizing the root partition as growpart gained the ability to utilize 'ptupdate' in kernels > 3.8. This was a big improvement as now the user could disable or enable the growing of the root partition via user-data. In order to let users disable growing of / very simplistically cloud-init will now respect the presense of /etc/growroot-disabled unless config specifically tells it to ignore that file.
* | Added ability to define disks via 'ephemeralX.Y'.Ben Howard2013-10-021-4/+6
|/ | | | | | Modified cc_mounts to identify whether ephermalX is partitioned. Changed datasources for Azure and SmartOS to use 'ephemeralX.Y' format. Added disk remove functionally
* fix permission changesScott Moser2013-10-021-0/+0
|
* use long format args rather than shortScott Moser2013-10-021-1/+1
|
* Fix typo in mkpasswd command: '-s' was used instead of '-R' for salt rounds.Eric Nordlund2013-10-011-2/+2
| | | | Remove duplicate 'password' text.
* remove non-ascii charsScott Moser2013-09-271-4/+4
|
* Updated the documentation on disk formatingBen Howard2013-09-271-7/+37
|
* merge from ben. disable partition creation on smartosScott Moser2013-09-271-1/+1
|
* update documentationScott Moser2013-09-271-6/+6
|
* fix doc for smartosScott Moser2013-09-271-11/+17
|
* Added support for formating the ephemeral disk on Windows Azure.Ben Howard2013-09-261-4/+4
|
* Fixes for the MP.Ben Howard2013-09-192-40/+87
| | | | | | | | | | Changed cc_disk_setup to handle the file systems as a label, no longer passing "log" around. Tidied up the documentation to reflect the changes and made grammer, spelling and improved the content a little. Added disk_setup to the default modules list.
* Merged in upstream changes with disk partition supportBen Howard2013-09-112-0/+148
|\
| * Update OpenNebula documentation (parseuser, more fs. labels, K-V single quotes)Vlastimil Holer2013-09-101-3/+13
| |