Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-12 | Fix up a ton of flake8 issues | Joshua Harlow | |
2016-04-04 | disk_setup: correctly send --force to mkfs on block devices | Scott Moser | |
Send the --force flag to mkfs or other filesystems when target is a block device. This fixes a general code flow issue where we were setting the --force flag. LP: #1548772 | |||
2016-03-03 | Update pep8 runner and fix pep8 issues | Ryan Harper | |
2015-07-22 | remove some overly verbose log messages | Scott Moser | |
2015-07-21 | Extend disk_setup and mounts to handle /dev/disk symlinks. | Daniel Watkins | |
2015-03-18 | Update is_disk_used for changed enumerate_disk output. | Daniel Watkins | |
Fixes Launchpad bug #1311463. | |||
2015-02-13 | fix usage of python2 'print' | Scott Moser | |
2015-01-13 | Find disk size differently for GPT. | Daniel Watkins | |
MBR uses block sizes, which is what the current (apparently portable) code was producing. GPT uses sectors to determine partition size. | |||
2015-01-13 | Initial run at GPT disk handling. | Daniel Watkins | |
2015-01-13 | Implement check_partition_gpt_layout. | Daniel Watkins | |
This includes moving some shared logic in to check_partition_layout. | |||
2015-01-13 | Fix lsblk output option. | Daniel Watkins | |
2014-08-26 | further remove evidence of pylint. | Scott Moser | |
This just removes comments '# pylint:' things and other code remnents of pylint. | |||
2014-08-26 | fix(pep8): Fix various pep8 violations and version-lock pep8 | Jay Faulkner | |
Fixed all complaints from running "make pep8". Also version locked pep8 in test-requirements.txt to ensure that pep8 requirements don't change without an explicit commit. | |||
2013-10-04 | pep8 and pylint fixes | Scott Moser | |
2013-10-04 | simplifications and some function renames | Scott Moser | |
2013-10-03 | Added support for 'ephmeral0.<auto|any|0>' for device mappings in disk | Ben Howard | |
formating support. | |||
2013-10-03 | Make {pep8,pylint,test} pass commit. | Ben Howard | |
2013-10-03 | Wrapped use of 'lsblk' to a generator function; removed other fcalls to 'lsblk' | Ben Howard | |
2013-10-03 | Moved ephemeralX.Y handling from Datasource into the cc_disk_setup, which ↵ | Ben Howard | |
makes it cloud agnostic. | |||
2013-10-03 | remove verbosity of log.info | Scott Moser | |
2013-10-03 | use native python code for wiping partition table | Scott Moser | |
I'm pretty sure the previous code wasn't seeking correctly and probably writing near the end, but not to the end. This is simpler and probably faster. | |||
2013-10-03 | fix pep8 | Scott Moser | |
2013-10-02 | Added ability to define disks via 'ephemeralX.Y'. | Ben Howard | |
Modified cc_mounts to identify whether ephermalX is partitioned. Changed datasources for Azure and SmartOS to use 'ephemeralX.Y' format. Added disk remove functionally | |||
2013-10-02 | fix permission changes | Scott Moser | |
2013-10-01 | Reordered several imports in order for test suite to pass. | Eric Nordlund | |
2013-09-27 | find_device_node: treat label=None as label="" | Scott Moser | |
Since for a string there is no difference, we're just checking for this here. | |||
2013-09-27 | change LOG.debug('format' % var) to ('format', var) | Scott Moser | |
2013-09-27 | fix one bug | Scott Moser | |
2013-09-27 | demote .info to .debug, add another debug | Scott Moser | |
2013-09-27 | adjust aliases early rather than late. | Scott Moser | |
this adds 2 functions update_disk_setup_devices update_fs_setup_devices Which update the appropriate datatype, and translate the names. Translating early means we don't have to deal with updating in the mkfs or mkpart calls explicitly. These are more easily unit tested as they just take a dictionary of the expected type and a 'transformer' that should return a new name or None. | |||
2013-09-27 | update to get functional with any alias in a 'device' entry | Scott Moser | |
2013-09-27 | fix syntax error in last commit | Scott Moser | |
2013-09-27 | fix probably debug code that explicitly set 'partition' to 'any'. | Scott Moser | |
2013-09-19 | Fixes for the MP. | Ben Howard | |
Changed cc_disk_setup to handle the file systems as a label, no longer passing "log" around. Tidied up the documentation to reflect the changes and made grammer, spelling and improved the content a little. Added disk_setup to the default modules list. | |||
2013-09-11 | Initial cut at disk partition support. | Ben Howard | |