405
405
// SetProvisioned sets the provider specific machine id and nonce for
406
406
// this machine. Once set, the instance id cannot be changed.
407
407
func (m *Machine) SetProvisioned(id InstanceId, nonce string) (err error) {
410
410
if id == "" || nonce == "" {
411
411
return fmt.Errorf("instance id and nonce cannot be empty")