Support XenServer in the gate

This change is required to support XenServer. Adds localrc generation.

Change-Id: I11aa8398f9aff1b1b3bb0d0ff3eaa2f553ef246b