Is there an environment variable for IP address of instance?
I am trying to write a Stackscript to deploy Jupyter Lab. At the end, I need to start service by providing an IP address, but I can't find any env variable that stores IP address for that certain instance
os.system('jupyter lab --ip 0.0.0.0 --port 8888 --no-browser')
0.0.0.0 should be automated such as
LINODE_IP. But I can't find anything related to that in guides. Thanks.
There isn't… This guide gives several ways to query it from your script: