diff options
author | Jonathan Bauer | 2017-03-13 12:16:31 +0100 |
---|---|---|
committer | Jonathan Bauer | 2017-03-13 12:16:31 +0100 |
commit | 4a64a355092d3e7b83e56be044cf954561dec017 (patch) | |
tree | 76bc72ef07ffb07cb500e15c4ed315d3ed9b0a16 /README.md | |
parent | typo (diff) | |
download | packer-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.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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> |