Fix to save host setting when allocating ip for VPC