Created by Scott Moser on 2011-05-27 and last modified on 2016-03-14
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

282. By Scott Moser on 2016-03-14

cloud-localds: support --vendor-data, network-config and 'tar' output

This adds support for:
 --vendor-data: To allow seeding vendor data.
 --network-config: to allow writing network-config file for providing
                   the cloud with networking information.
   tar: write contents as a tarball rather than disk image
   tar-seed-local: write same contents of 'tar', but with
                   var/lib/cloud/seed/nocloud prefix.
   tar-seed-net: write same contents of 'tar', but with
                   var/lib/cloud/seed/nocloud-net prefix.

281. By Scott Moser on 2016-02-01

ubuntu-cloudimg-query: support arch input of 'powerpc' and 's390x'

cloud images are now available for s390 and support powerpc there also.

280. By Scott Moser on 2016-01-27

mount-image-callback: better waiting for devices

on power8 systems we were failing to mount partitioned images.
The reason was mostly that we were looking for nbd0p1 too quickly.
The change here is to wait with 'sfdisk' to return success on the
nbd device. That should then indicate it is ready to use.

We use it to determine if 'auto' (no --partition flag) should
be 0 or 1. We can then wait more intently for the block device
to appear as we know whether or not nbd0p1 *should* appear.

279. By Scott Moser on 2016-01-19

sync packaging with what is in xenial and split euca2ools pieces

Syncing the packaging with Ubuntu will just make management easier.
Then, we split the cloud-publish-* packages to a cloud-utils-euca
package. Because these were a part of cloud-image-utils, anything
that used that (such as for cloud-image-query) would end up pulling
in euca2ools. The largest pain of that was in getting python2 into
ubuntu cloud images.

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.

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.