summaryrefslogtreecommitdiff
path: root/create-boot-floppy
diff options
context:
space:
mode:
Diffstat (limited to 'create-boot-floppy')
-rwxr-xr-xcreate-boot-floppy8
1 files changed, 8 insertions, 0 deletions
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 <<EOF
#!ipxe
+#
+# This file generated with this command:
+# ${GeneratorCommand}
+#
echo ${Host}
ifopen net0
###