Changes between Version 4 and Version 5 of how-to/puppet/dev-env
- Timestamp:
- Apr 23, 2011, 7:36:10 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
how-to/puppet/dev-env
v4 v5 27 27 * confdir - put the MFPL git repo here (e.g. `git clone gitosis@git.mayfirst.org/mfpl/puppet confdir`) 28 28 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] 30 30 {{{ 31 31 cp roach.qcow.gz roach.qcow.bak.gz; gunzip roach.qcow.gz … … 88 88 git push roach master 89 89 }}} 90 91 92 === Using a copy-on-write image === 93 Alternately, one can create a copy-on-write image to save only the changes made when working with a "base" image. The syntax is: 94 {{{ 95 qemu-img create -b <path to base image> -f <image format> <path to copy-on-write image> 96 }}} 97 For the roach image, this would be: 98 {{{ 99 qemu-img create -b images/roach.qcow -f qcow2 images/roach-changes.qcow2 100 }}} 101 Then one would use "images/roach-changes.qcow2" as the value of the -hda parameter when starting the virtual image.