Allow passing sources with variables to get_remote_file
[grml-autoconfig.git] / doc / grml-autoconfig.1.txt
index 0cbac2f..5f1b8af 100644 (file)
@@ -20,7 +20,7 @@ multitude of ways. It allows to:
 - install Debian packages from deb files on startup
 - unpack configuration on startup
 
-The combination of Debs, Configuration and Scripts is called DCS in Brml. DCS
+The combination of Debs, Configuration and Scripts is called DCS in Grml. DCS
 can be read from the Live Image itself, from an arbitrary file system on the
 local system which is marked with the volume label GRMLCFG, or from the file
 system pointed to by the myconfig boot parameter.
@@ -228,9 +228,21 @@ partconf::
 netconfig::
 
     Use this parameter to restore configuration using wget to download a GCA
-    from the specified destination. Usage example:
+    from the 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:
 
   netconfig=server.tld/path/to/config.tbz  =>   restore configuration using wget to download file config.tbz
+  netconfig=server.tld/config-$ARCH.tbz    =>   download config for specified architecture
+
+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
+    $KERNEL. 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
 
 extract::