Move initial update and config of a new vm into a separate script