lp:~smoser/cloud-utils/trunk.mic-lxd
Created by
Scott Moser
and last modified
- Get this branch:
- bzr branch lp:~smoser/cloud-utils/trunk.mic-lxd
Only
Scott Moser
can upload to this branch. If you are
Scott Moser
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Registry Administrators: Pending requested
-
Diff: 192 lines (+103/-26)1 file modifiedbin/mount-image-callback (+103/-26)
Branch information
Recent revisions
- 307. By Scott Moser
-
fix unmounting system mounts
go through the mounts that we did backwards when unmounting.
we are still unmounting recursively, but if you do them in
backwards order generally that should be ok.we still do recursive so that if you did:
mount-image-callback my.img chroot /
% mount -t tmpfs /dev/ /dev
% exitit would unmount the thing in there.
This may have to change at some point to avoid unmounting things
we did *not* mount (since we are now operating possibly on a directory
that might already have mounts under it). - 303. By Scott Moser
-
mount-image-
callback: add lxd container support. given lxd container on local system 'x1', you can now do:
sudo mount-image-callback -vv --system-resolvconf \
lxd:x1 -- chroot _MOUNTPOINT_ apt-get update
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:cloud-utils