~rcj/maas-images/ppc64el

Viewing all changes in revision 159.

  • Committer: Scott Moser
  • Date: 2014-07-08 22:01:27 UTC
  • Revision ID: smoser@ubuntu.com-20140708220127-cgsb15xuj0srebf9
maas-cloudimg2ephemeral: general cleanup, run self in chroot

Rather than running something like:
  chroot $mp sh -c 'some-long-code-here'
Now we run:
  chroot $mp bash -s < "$0"

The benefit is that the code can now easily use other functions
such as 'debug', and also get syntax highlighting.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: