Done. Need to pick bits out of here into the buildLXC branch, but otherwise all good.