Version 1 (modified by bas, 14 years ago) (diff) |
---|
get_base_hostname
Will be removed in a future release. It is now include to be backward compatible with old systemimager scripts. Thie function sets the variable:
- BASE_HOSTNAME
example
With HOSTNAME set to compute99.example.org the output is:
compute
and HOSTNAME set to gb-r1n1.irc.sara.nl the output is:
gb-r