Created by Scott Moser on 2011-05-27 and last modified on 2015-11-04
Get this branch:
bzr branch lp:cloud-utils
Members of cloud-utils development can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

cloud-utils development

Recent revisions

278. By Scott Moser on 2015-11-04

mount-image-callback: use qemu-nbd --read-only for safer read only

use qemu-nbd --read-only when using qemu and mounting read-only.
The value in this is that the block device appears read-only in this

277. By Scott Moser on 2015-11-04

mount-image-callback: add '--overlay' to use overlayfs mounts

--overlay means you can easily leave changed files around.

 $ sudo rm -Rf mp; sudo mkdir mp;
 $ sudo ./mount-image-callback d.img \
    --overlay --mountpoint=mp --system-resolvconf \
    chroot mp -- apt-get update -q
 $ find mp -type f

also useful to perform operations on a read-only fileystem
or one that doesnt have enough space in it without resizing.

276. By Scott Moser on 2015-11-04

mount-image-callback: add '--mountpoint' flag to mount to an existing dir

instead of always getting a temporary directory, support the user
specifying the mountpoint.

   mount-image-callback --mountpoint=mp -- tar -C mp -cf - .

275. By Scott Moser on 2015-10-09

spelling cleanups in man/growpart.1

fixes debian bug 793919

274. By Scott Moser on 2015-09-17

mount-image-callback: fix regression in attempt to give better error

previous commit tried to give a better error message by ensuring
that the target image was a file, but did so before the 'img' variable
was set.

Simple fix is to move the check till after the variable is set.

273. By Scott Moser on 2015-09-04

mount-image-callback: pass --format when invoking qemu-nbd

qemu-nbd now kind of needs the --format flag for sanity.
Additionally, in some cases (such as not specifying --format)
qemu-nbd would leave the device connected, but exit non-zero.

272. By Scott Moser on 2015-07-15

remove trailing whitespace

271. By Scott Moser on 2015-07-15

growpart: only use sfdisk for gpt resize if > 2.26.3

270. By Scott Moser on 2015-07-15

growpart: silence error output of older growpart when determining type

older growpart will write warnings like:
   WARNING: GPT (GUID Partition Table) detected ...

meaning if you ran current growpart with older sfdisk, you'd see confusing

269. By Scott Moser on 2015-05-15

growpart: when growing dont grow past the secondary gpt table

this will allow disks in mbr format that are grown with growpart
to subsequently be converted to gpt.

other things have to be done right in order for that to be
useful, but it wastes such a small amount, allow for it.

Branch metadata

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