summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-12-16add support for reading configuration of mirror and proxyScott Moser
This adds support for configuration of a mirror by looking for dns names like 'ubuntu-mirror', and setting a 'apt_mirror_search' configuration variable to find the first mirror in the list. Also, allows configuration of an apt proxy via 'apt_proxy' in cloud-config. LP: #897688
2011-12-16add apt_proxy doc to cloud-config.txtScott Moser
2011-12-16remove trailing :: on apt config for proxyScott Moser
2011-12-16add apt_proxy supportScott Moser
2011-12-16add documentation for mirror selectionScott Moser
2011-12-16use the distro when searchingScott Moser
instead of only searching ubuntu.localdomain, search <distro>-mirror.localdomain
2011-12-16only use apt_mirror if it is non-emptyScott Moser
if apt_mirror was set to "" or False in the config, we would have used that.
2011-12-16fix issue if apt_mirror is provided in configScott Moser
2011-12-16replace a print with a log.debugScott Moser
2011-12-16merge trunkScott Moser
2011-12-16tools/bddeb: add a symlink to created debScott Moser
this just adds a cloud-init_all.deb symlink to the deb that is created so its easier to scp it elsewhere after you build it.
2011-12-16DataSource: fix is_ipv4 usageScott Moser
2011-12-16sync from trunkScott Moser
2011-12-16setup.py: move version to 0.6.3Scott Moser
2011-12-16bddeb: improve 'bddeb' to read version and add bzr revnoScott Moser
This just removes one place where i had the version string and additionally makes bddeb built debs have a revno in their version
2011-12-16initial mirror configuration/discoveryScott Moser
2011-12-16move logic of "is this an ipv4 address" to a function is_ipv4Scott Moser
2011-12-06doc/ovf/README: documentation fix [David Medberry]Scott Moser
LP: #900537
2011-11-30do not convert 'None' to a string in cloud-config mounts input.Scott Moser
input like: mounts: - [ ephemeral0, /opt , auto, "defaults,noexec" ] - [ swap, null ] would get interpreted as string "None" rather than "None" and an entry for swap would be written to fstab. LP: #898365
2011-11-22fix doc for ec2 datasourceScott Moser
2011-10-31use hashlib rather than md5 module to avoid deprecation warning.Scott Moser
Thanks: Garrett Holmstrom LP: #883367
2011-10-31fix bug in netinfo.debug_info if no network devices availableScott Moser
LP: #883367
2011-10-31Mention in Changelog integration of Fedora packages (LP: #883286)Scott Moser
LP: #883286
2011-10-31add documentation of new config optionsScott Moser
This adds doc/examples/cloud-config.txt data for the options that were added when pulling in Fedora support.
2011-10-31make ssh service name configurableScott Moser
Fedora's ssh service name is named 'sshd', Ubuntu's is 'ssh'. This makes that configurable. TODO: document ssh_svcname. taken from git://pkgs.fedoraproject.org/cloud-init.git commit 87f33190f43d2b26cced4597e7298835024466c2 Author: Garrett Holmstrom <gholms@fedoraproject.org> Patch11: cloud-init-0.6.2-sshsvc.patch
2011-10-31make ssh host key deletion configurableScott Moser
Garret's patch cloud-init-0.6.2-sshsvc.patch did 2 separate things. This hunk makes deletion of keys configurable, and then makes generation of the keys only done if the key does not exist. TODO: document ssh_genkeytypes. taken from git://pkgs.fedoraproject.org/cloud-init.git commit 87f33190f43d2b26cced4597e7298835024466c2 Author: Garrett Holmstrom <gholms@fedoraproject.org> Patch11: cloud-init-0.6.2-sshsvc.patch
2011-10-30Make the types of SSH keys to generate configurableScott Moser
Notes: * This also makes cc_ssh.py *not* write ssh keys to the console. That means that if keys-to-console is configured off, nothing will write the keys to the console. * I removed Garret's use of xargs, replacing with a shell for loop in write-ssh-key-fingerprints. taken from git://pkgs.fedoraproject.org/cloud-init.git commit 87f33190f43d2b26cced4597e7298835024466c2 Author: Garrett Holmstrom <gholms@fedoraproject.org> Patch8: cloud-init-0.6.2-sshkeytypes.patch
2011-10-30add a warning if there is no known way to enable puppet service.Scott Moser
2011-10-30Make enabling puppet service work on FedoraScott Moser
configure puppet service to start on fedora based on one of: * presence of /etc/default/puppet (Ubuntu) * /bin/systemctl * /sbin/chkconfig taken from git://pkgs.fedoraproject.org/cloud-init.git commit 87f33190f43d2b26cced4597e7298835024466c2 Author: Garrett Holmstrom <gholms@fedoraproject.org> Patch7: cloud-init-0.6.2-puppetenable.patch
2011-10-30Write timezone data to /etc/sysconfig/clockScott Moser
If the file /etc/sysconfig/clock exists, assume fedora style timezone config and write 'ZONE="%s' to that file. taken from git://pkgs.fedoraproject.org/cloud-init.git commit 87f33190f43d2b26cced4597e7298835024466c2 Author: Garrett Holmstrom <gholms@fedoraproject.org> Patch5: cloud-init-0.6.2-tzsysconfig.patch
2011-10-30Make locale file location configurableScott Moser
fedora's analog to /etc/default/locale is /etc/sysconfig/i18n . This makes locale_configfile configurable and chooses between /usr/sbin/locale-gen (ubuntu/debian) and /usr/sbin/update-localeo (fedora) based on availability to generate locales. taken from git://pkgs.fedoraproject.org/cloud-init.git commit 87f33190f43d2b26cced4597e7298835024466c2 Author: Garrett Holmstrom <gholms@fedoraproject.org> Patch4: cloud-init-0.6.2-localefile.patch
2011-10-30Restore created files' selinux contextsScott Moser
This adds a restorecon_if_possible method which uses selinux python module, and uses that for files modified in /etc. taken from git://pkgs.fedoraproject.org/cloud-init.git commit 87f33190f43d2b26cced4597e7298835024466c2 Author: Garrett Holmstrom <gholms@fedoraproject.org> Patch3: cloud-init-0.6.2-filecontext.patch
2011-10-30Add sample/example systemd config filesScott Moser
This imports the systemd config files that Garrett Holmstrom added to fedora. Its not essential that thay be here, rather than just maintained as distribution delta, but there exists upstart files here. taken from git://pkgs.fedoraproject.org/cloud-init.git commit 87f33190f43d2b26cced4597e7298835024466c2 Author: Garrett Holmstrom <gholms@fedoraproject.org> Patch2: cloud-init-0.6.2-systemd.patch
2011-10-27make-dist-tarball: make output not be debian-likeScott Moser
instead of cloud-init_0.6.2.orig.tar.gz, create cloud-init-0.6.2.tar.gz
2011-10-27Replace static dict mapping version to packages with a method (LP: #848932)Scott Moser
Previously, there was a 'ruby_packages' dictionary that mapped the ruby version (1.8, 1.9, 1.9.1) to a list of packages that would need to be installed to get a functional gems. This replaces that with a method that is more likely to support future versions without requiring updates to cloud-init. It is not identical output as before. The changes are: * do not include 'ruby' in the case of 1.8, but rather 'ruby1.8' This is because the default could change, and 'ruby' would depend on a different default version. * do not explicitly list 'libruby-<version>' as that is a dependenency of 'ruby<version>' * End result is for any 'version' != 1.8, you'll get the following installed ruby<version> ruby<version>-dev LP: #848932
2011-10-27do not run run-parts if directory has no itemsScott Moser
Per bug 857926, on some systems, run-parts will exit failure if the directory is empty. On debian/ubuntu, at least of recent vintage, it exits success. Its reasonable to just not run it. LP: #857926
2011-10-13Improve OVF documentation and provide functional demo.Scott Moser
2011-10-09fix updates.tar function in uncloud-initScott Moser
LP: #871297
2011-10-06DataSourceEc2: catch a socket timeout in wait-for-md-service codeScott Moser
In addition to catching a url timeout, we also need to catch and retry on a socket timeout. Apparently urllib2 doesn't catch this and brand it as a urlerror. LP: #869492
2011-09-28increase cloud-init-nonet timeout to 130 seconds from 70Scott Moser
LP: #861866
2011-09-23DataSourceOVF: specify timeout=None in read_seeded callScott Moser
If the user told us to read from a seed, we should not timeout quickly
2011-09-22mention dependency on python-botoScott Moser
2011-09-22wrap-and-sortScott Moser
2011-09-22remove local copy of boto.utilsScott Moser
LP: #855965
2011-09-22make read_seeded return OSError for a file not foundScott Moser
2011-09-22add retrying to read_seeded. have it use read_url.Scott Moser
read_seeded also takes a 'file_retry' which defaults to zero. This is so that if the seed path is a file, retries are not done. read_optional_seed is not passing 'retries=0' here, but all the users of read_optional_seed are using it from file.
2011-09-22cloudinit/DataSource.py: fix bad usage of get_fqdn_from_hostsScott Moser
2011-09-21add LICENSE fileScott Moser
2011-09-21cloud-init-nonet.conf: redirect 'start networking' output to /dev/nullScott Moser
2011-09-14try a little harder to get a fqdn rather than defaulting to localdomainScott Moser
This fixes (LP: #850206). See bug for more info. LP: #850206