summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig
AgeCommit message (Collapse)Author
2011-07-21fix syntax error in cc_chef.pyScott Moser
2011-07-19improve the updating of /etc/hosts with correct fqdn when possibleScott Moser
Thanks to Adam Gandalman and Marc Cluet for this fix. LP: #812539
2011-07-19do not complain if attempt to resizefs in an lxc container failsScott Moser
it is expected / understood that mknod would fail inside an lxc container. So, if thats the case, just log a debug message saying so. LP: #800856
2011-07-18add chef [Avishai Ish-Shalom]Scott Moser
2011-06-30* cloudinit/CloudConfig/cc_update_etc_hosts.pyMarc Cluet
- Added new functionality to sanitise /etc/hosts
2011-06-17read authorized_keys location from sshd_config (LP: #731849)Scott Moser
LP: #785542
2011-06-17make the default "fill in" mount entries configurable. (LP: #785542)Scott Moser
The primary motivation for this is so that 'nobootwait' is not hard coded to appear in the fs_opts field. LP: #785542
2011-06-17change, and make configurable the prefix for entries in root authorized_keysScott Moser
This makes the prefix for entries added to root's authorized keys configurable. Previously, the value was: command="echo 'Please login as the user \"ubuntu\" rather than the user \"root\".\';echo;sleep 10\"" Now, at is configurable in cloud.cfg or user data by setting 'root_disabled_opts'. Additionally, the default has been changed to include 'no-port-forwarding,no-agent-forwarding,no-X11-forwarding' See LP: #798505 for more information on that. Note, that 'no-pty' was *not* added to this list as adding it means the user who simply does 'ssh root@host' gets a "cannot allocate pty" message rather than seeing warning about using root. LP: #798505
2011-06-14Support disabling of byobu.Scott Moser
LP: #797336
2011-04-29Seperated chef gems install to another functionAvishai Ish-Shalom
2011-04-24updated ruby packages listAvishai Ish-Shalom
2011-04-24ruby_version should be configurableAvishai Ish-Shalom
2011-04-21Added Chef pluginAvishai Ish-Shalom
2011-04-21Allow configurable hostname prefix and hostname attributeAvishai Ish-Shalom
2011-04-06fix bug seeding grub dpkg config when devices are named xvdX (LP: #752361)Scott Moser
With newer ubuntu kernels the xen block devices are named xvd[a-z][0-9] Ie, instead of /dev/sda1 the root device is /dev/xvda1. LP: #752361
2011-03-30cloudinit/CloudConfig/cc_timezone.py: remove debug print outScott Moser
2011-03-21fix bug with resizefs moduleScott Moser
instead of using blkid on /dev/root, create a device node ourselves with the correct device number of '/', then use blkid and resize2fs on that. I believe the problem was that /dev/root was occasionally not being present due to race. LP: #726938
2011-03-08fix issue where apt-update was not done unless explicitly setScott Moser
2011-03-03make update of sources not prevent installation attempt (LP: #728167)Scott Moser
LP: #728167
2011-03-03cc_resizefs.py: log output of failed resizefs or blkid commandsScott Moser
2011-02-22merge mcollective fixes from Marc. Changes to indentation and added commentsScott Moser
2011-02-20Change output format for ConfigParserMarc Cluet
2011-02-20Changes to mcollective module, added docsMarc Cluet
2011-02-18handle no datasource better cloud-init-cfgScott Moser
previously, cloud-init-cfg would call CloudConfig with no cloud specified. Then, CloudConfig would get a new cloudinit instance and specify no ds_deps (which means network and local). If no cache was found, it would wait again for the Ec2 metadata service (even if it wasn't supposed to). Now, we get the cloud instance in the main program and attempt to get the data source, but only from [], which will get only cached. Then, if its not found, exit silently.
2011-02-18add carriage return to cc_final_message.py outputScott Moser
2011-02-18fix syntax erorr in cc_puppet.pyScott Moser
2011-02-18Update puppet to replace rather than append, add mcollective [Marc Cluet]Scott Moser
Modified puppet module to try to replace values on the existing file instead of adding new values to the end. Also added initial mcollective module
2011-02-17update /etc/hosts hosts.tmpl to if 'manage_etc_hosts' is set in cloud-configScott Moser
LP: #720440
2011-02-15Changes to puppet module + mcollective moduleMarc Cluet
2011-02-07add 'bootcmd' like 'runcmd' to cloud-config syntax for running things earlyScott Moser
2011-02-07add apt helper routeins to CloudConfig, and use them in apt and puppetScott Moser
Adding the apt helper routines to CloudConfig. Then, make use of the following from cc_puppet and cc_apt_update_upgrade update_package_sources(): install_packages(pkglist): I'm not really terribly happy with this location for them. Their presence here is really only because of apt-update's use of 'run-once-per-instance'.
2011-02-07add 'run_per_instance' to CloudConfigScott Moser
This method aloows the caller to run easily run something "once per instance". Its location in CloudConfig rather than 'util' is really only because it needs access to cloudinit.get_ipath_cur to get the 'data' path.
2011-02-07rename 'datadir' key to 'data' in pathmapScott Moser
2011-02-04resizefs didn't work, as 'blkid' would return error status 2Scott Moser
passing '-c /dev/null' (no cache file) seems to work fine.
2011-02-04change default of resize_rootfs to TrueScott Moser
2011-01-28Removing quotes from puppet config option valuesRyan Lane
LP: #709946
2011-01-28add setting of passwords.Scott Moser
2011-01-26if output entry is a scalar, send stdout and stderr same placeScott Moser
2011-01-26cc_ssh: if a private key is supplied, do not require public.Scott Moser
given rsa_private_key, rsa_public_key is not needed in the ssh element of cloud-config. instead, it can be generated with ssh-keygen -yf LP: #648905
2011-01-26add timezone to cloud-config (LP: #645458)Scott Moser
LP: #645458
2011-01-26change 'except' syntax to python 3 style.Scott Moser
Everywhere that there occurred: except Exception, e: changed to except Exception as e:
2011-01-25add get_config_obj to a DataSource object.Scott Moser
This will allow for a DataSource to provide its own config that will then be utilized as part of CloudConfig. [to be used in OVF]
2011-01-25make final_message run 'per_always' rather than per-instanceScott Moser
2011-01-25make rightscale config default to once-per-instance, not once-everScott Moser
2011-01-25add support for posting data to a URL (phone_home)Scott Moser
There is no default configured. Nothing is done by default.
2011-01-25add support for reading rightscale style userdataScott Moser
LP: #668400
2011-01-25add support for redirecting output of cloud-init, cloud-config and cloud-finalScott Moser
2011-01-25use timestamp.gmtime() for timestamps rather than time() or datetimeScott Moser
2011-01-24move cloud-run-user-script.conf to cloud-final, use cloud-cfg for invokingScott Moser
This moves what was done as cloud-run-user-script.conf to 'cloud-final' and makes that re-use the cloud-init-cfg code, but simply with a different set of default configs. Also, adds keys_to_console and final_message cloud-config modules LP: #653271
2011-01-24merge in fixes to get to functioning pointScott Moser