lp://staging/~xnox/cloud-utils/more-arches
- Get this branch:
- bzr branch lp://staging/~xnox/cloud-utils/more-arches
Branch merges
- Registry Administrators: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedbin/ubuntu-cloudimg-query (+1/-1)
Branch information
Recent revisions
- 279. By Scott Moser
-
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
-
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
way. - 277. By Scott Moser
-
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
...
mp/var/lib/apt/ periodic/ update- success- stamp
mp/var/lib/dpkg/ lock 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
-
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.example:
mount-image-callback --mountpoint=mp -- tar -C mp -cf - . - 274. By Scott Moser
-
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
-
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)
- Stacked on:
- lp://staging/cloud-utils