~smoser/maas-images/trunk.better-check-overlay

Viewing all changes in revision 334.

  • Committer: Scott Moser
  • Date: 2016-10-03 15:46:55 UTC
  • Revision ID: smoser@ubuntu.com-20161003154655-eike213rkuvl15ha
bin/kpack-from-image: better determine if overlay support is available.

Instead of assuming that mount-image-callback having a flag '--overlay'
indicates that overlay support is usable, further check.

This makes the --copy=auto (the default) work in scenarios where
there are no modules available for loading or kernel module loading
is not allowed.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: