From 0b3ec68ce46f638e79e52f9f97f26727d9c4daa1 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Mon, 11 Nov 2013 17:16:22 +0000 Subject: Update the README and NEWS file to the new version --- NEWS | 2 +- README | 24 +++++++++++++++++++++--- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index ae10eac7..9159a80f 100644 --- a/NEWS +++ b/NEWS @@ -3,7 +3,7 @@ NEWS for Morph This file contains high-level summaries of what's changed in each release. -Version 11, released 2013-10-01 +Version 12, released 2013-11-15 ------------------------------- * NEWS file added. diff --git a/README b/README index 8fe250ad..6a89c8aa 100644 --- a/README +++ b/README @@ -28,10 +28,28 @@ really required. Meanwhile a short usage to build a disk image: morph init workspace cd workspace morph checkout baserock:baserock/morphs master + cd master/baserock:baserock/morphs morph build base-system-x86_64-generic - # FIXME: This has changed; see the wiki for current instruction. - morph deploy --no-git-update rawkdisk base-system-x86_64-generic \ - disk-image.img + +For deploying you need to create a cluster morphology. Here is an +example to deploy to a raw disk image. + + name: foo + kind: cluster + systems: + - morph: base-system-x86_64-generic + repo: baserock:baserock/morphs + ref: master + deploy: + my-raw-disk-image: + type: rawdisk + location: /src/tmp/testdev.img + DISK_SIZE: 4G + +To deploy it, you only need to run `morph deploy` with the cluster morphology +created: + + morph deploy foo You can write a configuration file to avoid having to write options on the command line every time. Put it in `~/.morph.conf` and make it look -- cgit v1.2.1