Changes between Version 4 and Version 5 of how-to/puppet/dev-env


Ignore:
Timestamp:
Apr 23, 2011, 3:36:10 PM (9 years ago)
Author:
Greg Lyle
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • how-to/puppet/dev-env

    v4 v5  
    2727 * confdir - put the MFPL git repo here (e.g. `git clone gitosis@git.mayfirst.org/mfpl/puppet confdir`)
    2828
    29  * images - download [/special/roach.qcow.gz roach.qcow.gz] into your images directory. Don't gunzip right away! Instead, make a backup copy (so you don't have to re-download it if you mess it up), then gunzip it.
     29 * images - download [/special/roach.qcow.gz roach.qcow.gz] into your images directory. Don't gunzip right away! Instead, make a backup copy (so you don't have to re-download it if you mess it up), then gunzip it. [0]
    3030 {{{
    3131cp roach.qcow.gz roach.qcow.bak.gz; gunzip roach.qcow.gz
     
    8888git push roach master
    8989}}}
     90
     91
     92=== Using a copy-on-write image ===
     93Alternately, one can create a copy-on-write image to save only the changes made when working with a "base" image. The syntax is:
     94{{{
     95qemu-img create -b <path to base image> -f <image format> <path to copy-on-write image>
     96}}}
     97For the roach image, this would be:
     98{{{
     99qemu-img create -b images/roach.qcow -f qcow2 images/roach-changes.qcow2
     100}}}
     101Then one would use "images/roach-changes.qcow2" as the value of the -hda parameter when starting the virtual image.