diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-09-27 15:58:56 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-09-27 15:58:56 -0400 |
commit | 1c79f38fb2a9d11a0ab7743cf5d2965b2c3cbd56 (patch) | |
tree | 238a8f37b252f1f7cf539f80b9c4f09ea2f2abab /cloudinit/sources/__init__.py | |
parent | 1388890380ed4edf47c2ad0421cedfc117f44cdd (diff) | |
download | vyos-cloud-init-1c79f38fb2a9d11a0ab7743cf5d2965b2c3cbd56.tar.gz vyos-cloud-init-1c79f38fb2a9d11a0ab7743cf5d2965b2c3cbd56.zip |
adjust aliases early rather than late.
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.
Diffstat (limited to 'cloudinit/sources/__init__.py')
0 files changed, 0 insertions, 0 deletions