Extracted xenserver install setup

This makes the script easier to read, as we don't have to escape
dollars.