From 096cab9b4875f00e83393ea0c4ce142aa0f25e7c Mon Sep 17 00:00:00 2001 From: Sylvia Moss Date: Fri, 6 Dec 2019 14:12:11 +0100 Subject: [PATCH] Fix floppy doc markdown typo (#8458) --- common/floppy_config.go | 4 ++-- .../source/partials/common/_FloppyConfig-not-required.html.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/floppy_config.go b/common/floppy_config.go index f9685e9ed..c2c617ed8 100644 --- a/common/floppy_config.go +++ b/common/floppy_config.go @@ -22,7 +22,7 @@ import ( type FloppyConfig struct { // A list of files to place onto a floppy disk that is attached when the VM // is booted. Currently, no support exists for creating sub-directories on - // the floppy. Wildcard characters (\*, ?, and \[\]) are allowed. Directory + // 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. FloppyFiles []string `mapstructure:"floppy_files"` @@ -30,7 +30,7 @@ type FloppyConfig struct { // 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. The maximum summary size of + // characters (\\*, ?, and \[\]) are allowed. The maximum summary size of // all files in the listed directories are the same as in `floppy_files`. FloppyDirectories []string `mapstructure:"floppy_dirs"` FloppyLabel string `mapstructure:"floppy_label"` diff --git a/website/source/partials/common/_FloppyConfig-not-required.html.md b/website/source/partials/common/_FloppyConfig-not-required.html.md index 88d831de4..d344c49f3 100644 --- a/website/source/partials/common/_FloppyConfig-not-required.html.md +++ b/website/source/partials/common/_FloppyConfig-not-required.html.md @@ -2,7 +2,7 @@ - `floppy_files` ([]string) - A list of files to place onto a floppy disk that is attached when the VM is booted. Currently, no support exists for creating sub-directories on - the floppy. Wildcard characters (\*, ?, and \[\]) are allowed. Directory + 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. @@ -10,7 +10,7 @@ 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. The maximum summary size of + characters (\\*, ?, and \[\]) are allowed. The maximum summary size of all files in the listed directories are the same as in `floppy_files`. - `floppy_label` (string) - Floppy Label \ No newline at end of file