summaryrefslogtreecommitdiff
path: root/prep-boot-floppy-and-ks-config
diff options
context:
space:
mode:
Diffstat (limited to 'prep-boot-floppy-and-ks-config')
-rwxr-xr-xprep-boot-floppy-and-ks-config8
1 files changed, 6 insertions, 2 deletions
diff --git a/prep-boot-floppy-and-ks-config b/prep-boot-floppy-and-ks-config
index 5c3daf6..852545c 100755
--- a/prep-boot-floppy-and-ks-config
+++ b/prep-boot-floppy-and-ks-config
@@ -8,6 +8,8 @@
Self=$(basename $0)
+SelfCommandLine="$(echo ${0} ${@} | sed -e 's/ /;:;/g')"
+
function print_usage {
echo "usage: $Self <options>"
}
@@ -215,11 +217,13 @@ ScriptPath=$(echo $0 | sed -e "s#/${Self}##")
#echo $ScriptPath
${ScriptPath}/create-boot-floppy -D ${Domain} -G ${GW} -H ${Host} \
- -I ${IP} -M ${NM} -T ${TmpDir} -P ${PublishPath} ${InstCmdLineOpt}
+ -I ${IP} -M ${NM} -T ${TmpDir} -P ${PublishPath} ${InstCmdLineOpt} \
+ --gen-cmd ${SelfCommandLine}
${ScriptPath}/adapt-ks-template -D ${Domain} -G ${GW} -H ${Host} \
-I ${IP} -M ${NM} -T ${TmpDir} -P ${PublishPath} --sec-ip ${SecIP} \
- --sec-nm ${SecNM} ${TemplateOpt} ${KrnlCmdLineOpt}
+ --sec-nm ${SecNM} ${TemplateOpt} ${KrnlCmdLineOpt} \
+ --gen-cmd ${SelfCommandLine}
# When this script calls the other two, PublishPath *is* set, so expect
# everything of value to be evacuated, and just clean up: