def clear_local_registration(self):
        '''
        Deletes dotfiles and machine-id for fresh registration
        '''
        delete_registered_file()
        delete_unregistered_file()
        write_to_disk(constants.machine_id_file, delete=True)
        logger.debug('Re-register set, forcing registration.')
        logger.debug('New machine-id: %s', generate_machine_id(new=True))
Deletes dotfiles and machine-id for fresh registration