--- mcore-src/trunk/mcore-tools/daemon/client/include/network.client.class 2011/11/04 08:24:27 1896 +++ mcore-src/trunk/mcore-tools/daemon/client/include/network.client.class 2012/08/13 11:28:31 2026 @@ -15,7 +15,16 @@ get_network_hostname() { - hostname + local val + + if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]] + then + val=$(hostname) + else + val=$(< /etc/hostname) + fi + + rvecho "${val}" } # set_network_hostname $value