How can I get the HOSTNAME during an install?

I have a system-wide install and want to configure CGI_URL
to be the current-host when the install is run

Looking at the format of the skel files I can't do something like this

import socket
CGI_URL = "http://"; . socket.gethostname() . "/tmda/index.cgi"

(I'm guessing at the python syntax here....)

Is the current host already available as a variable I can use %(hostname)
with?

tom

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to