Apologies. In the environment the chroot scripts run under, there is a $Server variable that contains an IP address. I'm not sure however if it is the IP address of the autoyast or install server (as specified on the autoyast and install kernel command line) - as in the lab here they're both the same.
Hmm. I never tested that but I would bet it's the address of the installation server. Autoyast does not set environment variables (for all I know).
I have tested this, and it does point to the installation server. I've just noticed that all the variables can be seen during the autoyast install on console 10 (Alt+F10). Useful things there: Textmode Netdevice IP Netmask Gateway Nameserver Server Serverdir LANG VNC UseSSH amongst others. They are all available to chroot scripts. Not sure about postinstall or preinstall scripts though. Yan