just docs
[automated-distro-installer] / myfai-chboot
index e216aa077e0e9afe19b0fc572e173c4e55afa43e..1abead8c5922a7feb7bcc1df6c1adcbf9b4e9841 100755 (executable)
@@ -15,4 +15,5 @@ EOF
 
 cd "${BASH_SOURCE%/*}" # directory of the script
 
-ssh root@faiserver bash -s "$@" <myfai-chboot-local
+host=$(chost faiserver)
+ssh root@$host bash -s "$@" <myfai-chboot-local