code: func (m *CoreOSMachine) currentState() *MachineState {
  	id, err := readLocalMachineID("/")
  	if err != nil {
  		log.Errorf("Error retrieving machineID: %v\n", err)
  		return nil
  	}
  	publicIP := getLocalIP()
  	return &MachineState{
  		ID:       id,
  		PublicIP: publicIP,
  		Metadata: make(map[string]string, 0),
  	}
  }
docs: // currentState generates a MachineState object with the values read from
  // the local system