summaryrefslogtreecommitdiff
path: root/cloudinit/distros/ubuntu.py
AgeCommit message (Collapse)Author
2012-06-21Updated so that the locale that is being written out currently in 'cc_locale'Joshua Harlow
now will be done by the distro classes (since its not the same for rhel and ubuntu). Remove the template also since it will just be created by the ubuntu distro class (its just one line).
2012-06-211. Move all info() logging methods to debug() harlowja
2. Adjust comment on sources list from depends 3. For the /etc/timezone 'writing', add a header that says created by cloud-init
2012-06-20Massive pylint + pep8 fixups!Joshua Harlow
2012-06-19Pylint line length fixups.Joshua Harlow
2012-06-19More cleanups around read/write rootsJoshua Harlow
2012-06-19More paths missed (durn), but now fixed.Joshua Harlow
2012-06-19Make most of all the places use the paths join() function so that testing ↵Joshua Harlow
with non-real read/write paths is easier.
2012-06-18Add created by or added by cloud-init lines when we modify or create files.Joshua Harlow
2012-06-17Update the variable for comment positioning to be 'c_pos' (comment position) ↵harlowja
instead of 'hpos' (??)
2012-06-171. Adjust the ubuntu network hostname writing to go through a standard write ↵harlowja
function 2. Add comment as to why we search for "#" when reading
2012-06-171. Remove rhel sysconfig for timezone, now have a rhel distro subclassharlowja
2. Remove private apt_get function, since it can just be the package_command public one.
2012-06-16Have the top level distro class take paths instead of a runner.Joshua Harlow
This allows the following: 1. Let the ubuntu subclass construct its own runner with those paths (since not every subclass may want it) Adjust the base class + subclass to reflect this, adjust stages as well to reflect the constructor changes.
2012-06-16Have the contents formed on a previous line which seems prettier.Joshua Harlow
2012-06-15Fixups to ensure that pylint does not find anything major wrong.Joshua Harlow
2012-06-15Self variable missingJoshua Harlow
2012-06-15Variable name mismatchJoshua Harlow
2012-06-15Moved as many distro specific actions to here as should be needed. Joshua Harlow
Mainly this is the following: 1. Hostname updating 2. Package command invocation 3. Network settings writings 4. Timezone setting (needs cleanup)
2012-06-11Add initial network writing here.Joshua Harlow
2012-06-11Adding in the base of a ubuntu distro subclass that can install pkgs (right ↵Joshua Harlow
now).
2012-06-09Start adding place where distro specifics can go.Joshua Harlow