~smoser/curtin/doc-updates

Viewing all changes in revision 134.

  • Committer: Scott Moser
  • Date: 2014-06-12 17:14:27 UTC
  • mfrom: (129.1.7 curtin)
  • Revision ID: smoser@ubuntu.com-20140612171427-n3y79mlosyehc52q
add support for disk images

Disk images (as opposed to root-filesystem tarfiles) can now be used.
The expected input would be created with something like:
 dd if=/dev/sda of=my.img
 tar -Scvzf my.img.tar.gz my.img

Ie, its a single file inside a tar file (for sparseness).

command line urls can be prefixed with 'dd:' to explicitly specify that
this is a dd image.  This can be specified in config.

sources:
 05_primary:
  uri: "http://example.com/ubuntu-12.04-server-cloudimg-amd64-root.tar.gz"
  type: "tgz"

* old config and command line variants still work, and default to tgz
  curt-hooks, net-meta will now look for os.path.join(target, '/curtin',
  hook_name) before executing the buitin. If a hook is present, then the
  builtin will not be executed.
  * curthooks --> curtin-hooks
  * net-meta --> network-config

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: