projects
/
grml-autoconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e63506
)
Update documentation regarding netscript
author
Ulrich Dangel
<mru@grml.org>
Thu, 14 Oct 2010 23:05:22 +0000
(
01:05
+0200)
committer
Ulrich Dangel
<mru@grml.org>
Thu, 14 Oct 2010 23:15:10 +0000
(
01:15
+0200)
doc/grml-autoconfig.current.txt
patch
|
blob
|
history
diff --git
a/doc/grml-autoconfig.current.txt
b/doc/grml-autoconfig.current.txt
index
6806309
..
9c7e8fe
100644
(file)
--- a/
doc/grml-autoconfig.current.txt
+++ b/
doc/grml-autoconfig.current.txt
@@
-69,7
+69,9
@@
netscript::
Use this parameter to download and run a script from specified destination:
You can also add variables to change the file name depending on the host
configuration. Predefined and useful variables are $ARCH, $HOSTNAME and
Use this parameter to download and run a script from specified destination:
You can also add variables to change the file name depending on the host
configuration. Predefined and useful variables are $ARCH, $HOSTNAME and
- $KERNEL. Usage example:
+ $KERNEL. The environment variable NETSCRIPT is set to the specified URI.
+ This can be used to detect if the script is executed via the netscript bootoption.
+ Usage example:
netcript=server.tld/path/to/script => download and run script/executable from server
netscript=server.tld/script-$HOSTNAME => download and run script/executable for specific host
netcript=server.tld/path/to/script => download and run script/executable from server
netscript=server.tld/script-$HOSTNAME => download and run script/executable for specific host