Closed sigeisler closed 2 years ago
seml jupyter relies on https://github.com/TUM-DAML/seml/blob/master/seml/jupyter_template.sh#L20 to determine the FQDN. However, the FQDN is neither necessarily unique nor is the first entry of hostname --all-fqdn a reliable way of determining the hostname (e.g. see https://www.computerhope.com/unix/uhostnam.htm#The-FQDN "Do not make any assumptions about the order of the output.").
seml jupyter
hostname --all-fqdn
Thus, I suggest sacrificing readability and using the plain IP address.
An alternative to the IP would be to listen to 0.0.0.0 which listens to all incoming traffic. This is generally not recommended for servers but since we're working in a closed cluster it may be appropriate
Expected Behavior
seml jupyter
relies on https://github.com/TUM-DAML/seml/blob/master/seml/jupyter_template.sh#L20 to determine the FQDN. However, the FQDN is neither necessarily unique nor is the first entry ofhostname --all-fqdn
a reliable way of determining the hostname (e.g. see https://www.computerhope.com/unix/uhostnam.htm#The-FQDN "Do not make any assumptions about the order of the output.").Thus, I suggest sacrificing readability and using the plain IP address.