From ded2693ee7f74b197655027c211b47d99c08b480 Mon Sep 17 00:00:00 2001 From: Michael Ledin Date: Sun, 5 Mar 2017 16:55:48 +0300 Subject: [PATCH] Add floppy size limitation notice. Should help people dealing with #4570 and #3328 because packer copies `floppy_files` to floppy without any error even if they exceed 1.44 MB limit. `floppy_dirs`throws error about FAT size limit exceeded but without mentioning that real issue is the floppy size limit: ``` Build 'qemu' errored: Error adding path virtio_iso to floppy: FAT FULL ``` --- website/source/docs/builders/qemu.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/docs/builders/qemu.html.md b/website/source/docs/builders/qemu.html.md index 381e8872f..28fe8400e 100644 --- a/website/source/docs/builders/qemu.html.md +++ b/website/source/docs/builders/qemu.html.md @@ -172,13 +172,13 @@ Linux server and have not enabled X11 forwarding (`ssh -X`). is attached as the first floppy device. Currently, no support exists for creating sub-directories on the floppy. Wildcard characters (\*, ?, and \[\]) are allowed. Directory names are also allowed, which will add all - the files found in the directory to the floppy. + the files found in the directory to the floppy. The summary size of the listed files must not exceed 1.44 MB. The supported ways to move large files into the OS are using `http_directory` or [the file provisioner]( https://www.packer.io/docs/provisioners/file.html). - `floppy_dirs` (array of strings) - A list of directories to place onto the floppy disk recursively. This is similar to the `floppy_files` option except that the directory structure is preserved. This is useful for when your floppy disk includes drivers or if you just want to organize it's - contents as a hierarchy. Wildcard characters (\*, ?, and \[\]) are allowed. + contents as a hierarchy. Wildcard characters (\*, ?, and \[\]) are allowed. The maximum summary size of all files in the listed directories are the same as in `floppy_files`. - `format` (string) - Either "qcow2" or "raw", this specifies the output format of the virtual machine image. This defaults to `qcow2`.