Simplify IP address retrieval

Not sure why it's necessary to have to select the interface IP when the vast majority will have only one.  The script as is fails on OpenVZ with venet interface. I propose a major simplification that is also more universal.