lp:~larsks/cloud-utils/cloud-utils

Created by Lars Kellogg-Stedman and last modified
Get this branch:
bzr branch lp:~larsks/cloud-utils/cloud-utils
Only Lars Kellogg-Stedman can upload to this branch. If you are Lars Kellogg-Stedman please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Lars Kellogg-Stedman
Project:
cloud-utils
Status:
Development

Recent revisions

339. By Lars Kellogg-Stedman

correct sed expression for modifying partition size

The existing sed expression would erroneously change the start sector of a
partition, rather than the size, if the start sector and size were identical.
This commit modifies the sed expression so that it will only operate on the
final match in the line.

338. By Kevin Locke

growpart: Resolve symbolic links before operating.

Disks can be referred to via symlink aliases, such as the ones in
/dev/disk/by-id and /dev/disk/by-path. These alias paths can have
different partition naming behavior than the un-aliased path. For
example, both of the above aliases add -partX to the name for partition
X, rather than just X. Previously this would cause growpart to fail
with the error:

  failed to get start and end for ${dpart} in ${DISK}

Because the awk expression would not match the partition path. This
commit fixes the error by resolving symlink device paths before use.

337. By Scott Moser

mount-image-callback: fix mostly harmless typo in variable name.

This typo actually had no real negative side effect because at the
point of use, UMOUNTS had no entries. So:
  UMOUNTS[${BOGUS[@]}]=x
is the same as the corrected version
  UMOUNTS[${#UMOUNTS[@]}]=x

if UMOUNTS was an empty array at the time (which it was).

336. By Scott Moser

mount-image-callback: fix typo meaning we never timed out waiting for a disk.

simple typo 'i=$(($i+1)):' instead of i=$(($i+1))
meant that we'd never actually take the fail path.

335. By Scott Moser

debian/tests/control: Set dependencies correctly.

334. By Scott Moser

Sync debian/tests directory with what is in cosmic.

333. By Scott Moser

update debian/changelog for all of 0.31

332. By Scott Moser

update ChangeLog

331. By Scott Moser

growpart: fix bug when resizing a middle partition with sgdisk.

Added a test and made growpart output consistent between sgdisk
and sfdisk resizers.
Thanks to Fred De Backer.

330. By Scott Moser

test/test-mic: fix typo

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:cloud-utils
This branch contains Public information 
Everyone can see this information.