summaryrefslogtreecommitdiff
path: root/cloudinit/distros/freebsd.py
AgeCommit message (Collapse)Author
2016-04-04merge with trunkScott Moser
2016-03-03Update pep8 runner and fix pep8 issuesRyan Harper
2015-01-21Largely merge lp:~harlowja/cloud-init/py2-3 albeit manually because it seemedBarry Warsaw
to be behind trunk. `tox -e py27` passes full test suite. Now to work on replacing mocker.
2015-01-20More FreeBSD improvementsBen Arblaster
- Implement set_passwd - Implement set_timezone - Use /bin/tcsh as default user shell (FreeBSD default) - Change default username to freebsd - Enable set-passwords, package-update-upgrade-install and timezone modules - Remove trailing whitespace
2015-01-18freebsd: add pkg supportBen Arblaster
2015-01-16hostname: apply hostname same as is writtenScott Moser
on RHEL, we were writing to persistent configuration the fqdn, but invoking 'hostname' on the first boot with just the shortname. On 'reboot', then the hostname would differ. Now, whatever we write, invoke hostname with. Also remove some duplicate code. LP: #1246485
2015-01-06tools/run-pep8: remove leading ',' fed to --ignoreScott Moser
--ignore was being called with ',E121,E...' rather than 'E121,E...'. that resulted in odd behavior, missing the pep8 errors that are fixed here.
2014-10-08fix: Use continue to skip inside a loop.Harm Weites
2014-10-08fix: Take care of FreeBSD nic devicenames since they differ dependingHarm Weites
on the platform involved. Xen/KVM (Azure?) use different drivers, which results in different device names.
2014-10-02freebsd: Use the proper virtio FreeBSD network interface name.Scott Moser
2014-09-10pyflakes fixes.Scott Moser
make pyflakes now passes.
2014-09-03fix: Write sudo rules upon user creation.Harm Weites
2014-08-28fix: The original regex was a little harsh, the rest of the bitsHarm Weites
regarding keys and values from /etc/rc.conf is tweaked as well (harlowja).
2014-08-26change: Use a compiled regex and use the included match groups insteadHarm Weites
of matching yet again.
2014-08-23fix: Drop some overly loud debug messages.Harm Weites
2014-08-08fix: Skip lines from /etc/rc.conf not matching the pattern key=value.Harm Weites
2014-08-08merge: These are the changes from the freebsd-static-networking branch.Harm Weites
2014-02-28distros/freebsd.py: fix regression due to previous pylint cleanupScott Moser
2014-01-24Don't try to create members if group creation failsJoshua Harlow
2014-01-24Fix logexc usage in freebsd distroJoshua 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-24Log failure to restore backup locale fileJoshua Harlow
2014-01-24Freebsd cleanupsJoshua 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-24pylint 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-24pep8/pylint fixesScott 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-23fix freebsd new file headerScott Moser
2014-01-23pep8/tab to 8 spacesScott Moser
2013-12-18new: Apply the locale to the default login class.Harm Weites
2013-12-14change: Separate functions to load, read and write /etc/rc.conf keys andHarm Weites
values. Use these right away to read and change the hostname.
2013-12-06new: FreeBSD module to support cloud-init on the FBSD10 platform. In itsHarm Weites
current form its still missing some modules though. Supported: -SSH-keys -growpart -growfs -adduser -powerstate