summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJonathan Bauer2017-03-13 12:16:31 +0100
committerJonathan Bauer2017-03-13 12:16:31 +0100
commit4a64a355092d3e7b83e56be044cf954561dec017 (patch)
tree76bc72ef07ffb07cb500e15c4ed315d3ed9b0a16 /README.md
parenttypo (diff)
downloadpacker-templates-4a64a355092d3e7b83e56be044cf954561dec017.tar.gz
packer-templates-4a64a355092d3e7b83e56be044cf954561dec017.tar.xz
packer-templates-4a64a355092d3e7b83e56be044cf954561dec017.zip
added note on how to compress with virt-sparsify
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 60d5011..7c98e48 100644
--- a/README.md
+++ b/README.md
@@ -26,10 +26,12 @@ Debug:
Variables set in base.json can be overriden using packer's '-var' options, e.g.:
packer build -var-file=base.json -var='headless=true' <template>
-
(Make sure you first include base.json before overriding a variable!)
Packer connects to the VM per SSH to provision them after the initial iso installation.
A default password is defined in base.json and the corresponding SHA-512 hashes are set
in the kickstart/preseed files. If you change the 'ssh_password' make sure to change the
hashes in the ks/ps files (generate with 'mkpasswd -m sha-512')!
+
+While the qemu builder produces a qcow2 image, it can be further compressed using:
+ virt-sparsify --compress <qcow2_file> <output_qcow2_file>