summaryrefslogtreecommitdiff
path: root/create-boot-floppy
diff options
context:
space:
mode:
Diffstat (limited to 'create-boot-floppy')
-rwxr-xr-xcreate-boot-floppy9
1 files changed, 8 insertions, 1 deletions
diff --git a/create-boot-floppy b/create-boot-floppy
index 2cb7a87..a6f0a43 100755
--- a/create-boot-floppy
+++ b/create-boot-floppy
@@ -43,6 +43,13 @@ bootstrapping, and leave the system unmanaged.
If -N, -K, -S options are not given, default values are provided.
+To avoid shell interpretation of whitespace in --inst-cmdline use escaped
+semicolon:
+ To achieve this:
+ console=tty1 console=ttyS0,115200n8
+ write this:
+ console=tty1\;console=ttyS0,115200n8
+
The script needs ipxe and syslinux to run, and 'sudo' to copy things onto the
floppy image
@@ -97,7 +104,7 @@ function parse_commadline {
shift
;;
--inst-cmdline)
- InstCmdLine="${2}"
+ InstCmdLineOpt="--inst-cmdline $(echo ${2} | sed -e 's/;/ /g')"
shift
;;
*)