diff options
author | Jon Clausen <jac@nordu.net> | 2018-08-02 08:52:24 +0200 |
---|---|---|
committer | Jon Clausen <jac@nordu.net> | 2018-08-02 08:52:24 +0200 |
commit | 02a92a4c737f3f3d7f5e6d18dd7f8f831a469ce6 (patch) | |
tree | 019279ef4ed3c8a8e97dfeddd6d8daca26f312ab /prep-boot-floppy-and-ks-config | |
parent | 60f09074b313c94b8b1f2ebdaa4558920e10620b (diff) |
record the generator commandline in the generated files
Diffstat (limited to 'prep-boot-floppy-and-ks-config')
-rwxr-xr-x | prep-boot-floppy-and-ks-config | 8 |
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: |