'Sets the given entry number to be the default on every next boot
To set a default only for the next boot, use boot_once() instead.
:param index: entry index number to set as the default.'

def set_default_by_index(self, index):

    if self._host().job:
        self._host().job.last_boot_tag = None
    return self._run_boottool_exit_status(('--set-default=%s' % utils.sh_escape(str(index))))
