Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-06 | Added arch distro class to merge request | Nate House nathan.house@rackspace.com | |
2014-02-06 | Added arch network config | Nate House nathan.house@rackspace.com | |
2014-02-06 | Removed exclude bits from yum module as its not a default | Nate House nathan.house@rackspace.com | |
2014-02-05 | Cleanup and cloud-init-local local/net mount dep fix | Nate House nathan.house@rackspace.com | |
2014-02-04 | Merge gentoo branch and updated set-password to support systemctl | Nate House nathan.house@rackspace.com | |
2014-02-04 | Update ssh_svcname in init | Nate House nathan.house@rackspace.com | |
2014-02-04 | Initial arch distro add. | Nate House nathan.house@rackspace.com | |
2014-02-03 | Fix merge conflict | Nate House nathan.house@rackspace.com | |
2014-02-03 | Update yum unittest | Nate House nathan.house@rackspace.com | |
2014-02-03 | Fix sshd restart | Nate House nathan.house@rackspace.com | |
2014-02-02 | Net interface up updates and override ssh_svcname to init scripts | Nate House nathan.house@rackspace.com | |
2014-01-29 | merge from trunk | Scott Moser | |
2014-01-28 | Updated exclude modules for gentoo distro. | Nate House nathan.house@rackspace.com | |
2014-01-28 | cloudinit/util.py: fix pylint complaints | Scott Moser | |
2014-01-28 | DataSourceNoCloud: support reading vendor-data | Scott Moser | |
Here we add the ability to read vendor-data from a file named vendor-data at the same location as the user-data and meta-data files. At the moment, vendor-data is not read at all from 'seedfrom'. | |||
2014-01-28 | Allow zeros when detecting IPv4 address (e.g. 192.168.0.1) | Vlastimil Holer | |
2014-01-28 | exclude modules fix 1 | Nate House nathan.house@rackspace.com | |
2014-01-27 | Removed excessive is_excluded module calls | Nate House nathan.house@rackspace.com | |
2014-01-27 | Adds distro module exclude support | Nate House nathan.house@rackspace.com | |
2014-01-27 | add 'pathprefix2dict' utility for use by DataSourceNoCloud | Scott Moser | |
2014-01-27 | init_cmd inheritance fixes | Nate House nathan.house@rackspace.com | |
2014-01-24 | read_file_or_url: raise UrlError with 404 on ENOENT | Scott Moser | |
This makes it easier to call read_file_or_url and handle file or url errors. Now read_file_or_url will raise a UrlError in either case on errors. | |||
2014-01-24 | Don't try to create members if group creation fails | Joshua Harlow | |
2014-01-24 | Fix logexc usage in freebsd distro | Joshua Harlow | |
- There appeared to be a few logexc calls that did not pass the logger in, fix those locations where this occured. - When a group member adding fails, log the error and try the next member instead of failing adding any more members | |||
2014-01-24 | Fixes for SmartOS datasource | Scott Moser | |
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 (not user-data) 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 will now have '#!/bin/bash' magically prepended if the 'file' thinks its plain text and it does not start with '#!' LP: #1272115 | |||
2014-01-24 | minor changes for pylint, write_boot_content improvement. | Scott Moser | |
if write_boot_content is given somethign that starts with #!, then there isn't a reason to invoke 'file' to tell us that it starts with shebang. This way, we only run file in 2 cases: a.) binary content (don't really know if that is supported or not) b.) magic "user meant to run this with /bin/bash but couldn't be bothered to type that" | |||
2014-01-24 | Log failure to restore backup locale file | Joshua Harlow | |
2014-01-24 | Freebsd cleanups | Joshua Harlow | |
- Remove direct usage of open() and use the corresponding helpers instead. - Fix the non-existence of the copyfile routine and just use the ones that do exist in the utils module to do the file backup. - Use class level constants for the various file names read, this matches the same usage in the other distro types. | |||
2014-01-24 | Make SmartOS script handling self-contained in datasource. | Ben Howard | |
2014-01-24 | Rebasing on trunk | Ben Howard | |
2014-01-24 | pylint and long line fixes. | Scott Moser | |
This fixes up many long lines to be < 80 chars and some other pylint issues. pylint 1.1 (in trusty) is now complaining about the lazy logging, so I'll clean that up when I touch things. | |||
2014-01-24 | Fixed flip-flopped comment | Ben Howard | |
2014-01-24 | pep8/pylint fixes | Scott Moser | |
tools/run-pep8 wasn't checking all python files. tools/run-pylint wasnt checking bin/cloud-init fixed resultant pep8 issues after finding them. | |||
2014-01-24 | Fixes for SmartOS datasource (LP: #1272115): | Ben Howard | |
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 | |||
2014-01-24 | init_cmd distro unique supports gentoo init scripts | Nate House nathan.house@rackspace.com | |
2014-01-23 | Package manager install / update fixes and service restart foo | Nate House nathan.house@rackspace.com | |
2014-01-23 | Use the right exception | Joshua Harlow | |
2014-01-23 | Initial add Gentoo distro | Nate House nathan.house@rackspace.com | |
2014-01-23 | Remove pylint warning about unused request_args | Joshua Harlow | |
2014-01-23 | Skip retry and continued fetch of userdata when NOT_FOUND | Joshua Harlow | |
When a 404 http code comes back from the fetching of ec2 data, instead of retrying immediatly stop the fetching process and in the userdata fetching function handle this case as a special case of no userdata being fetched (an empty string in this case). | |||
2014-01-23 | fix util.which if PATH is not in environment | Scott Moser | |
This fixes a test case that failed because PATH was unset in the os.environ. | |||
2014-01-23 | fix freebsd new file header | Scott Moser | |
2014-01-23 | pep8/tab to 8 spaces | Scott Moser | |
2014-01-23 | pep8, use which rather than hard coded path | Scott Moser | |
2014-01-23 | pep8 | Scott Moser | |
2014-01-23 | fix broken consumption of /proc/mounts | Scott Moser | |
this was checking that the lenghth of the mount line from /proc/mounts was 6, not the number of tokens. | |||
2014-01-23 | merge from trunk | Scott Moser | |
2014-01-23 | pep8 | Scott Moser | |
2014-01-23 | Consider partitions as sources for configdrive if labelled correctly | Paul Querna | |
This change removes the filtering of partitions from potential ConfigDrive sources, if the LABEL of the partition is set to "config-2". This is useful for a bare metal device. It may not have a separate device for ConfigDrive, but instead have a ConfigDrive available on a partition. | |||
2014-01-23 | Split net-parsing into own module | Joshua Harlow | |
The ubuntu/debian networking file parsing function really is more generic than just a rhel utility function and can be used by others that want to use this functionality for there own purposes (say in writing down a freebsd network format instead) so moving this to its own module to encourage its usage outside of rhel. |