From 02a92a4c737f3f3d7f5e6d18dd7f8f831a469ce6 Mon Sep 17 00:00:00 2001 From: Jon Clausen Date: Thu, 2 Aug 2018 08:52:24 +0200 Subject: record the generator commandline in the generated files --- create-boot-floppy | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'create-boot-floppy') diff --git a/create-boot-floppy b/create-boot-floppy index 5c32862..6037a11 100755 --- a/create-boot-floppy +++ b/create-boot-floppy @@ -107,6 +107,10 @@ function parse_commadline { InstCmdLineOpt="$(echo ${2} | sed -e 's/;/ /g')" shift ;; + --gen-cmd) + GeneratorCommand="$(echo ${2} | sed -e 's/;:;/ /g')" + shift + ;; *) echo "what do you mean \"$1\"?" exit 1 @@ -212,6 +216,10 @@ EOF" sudo sh -c "cat >${WorkDir}/mnt/${Host}.ipxe <