diff options
-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> |