@staticmethod<EOL><INDENT>def _wait_for_machine_booted(name, suffictinet_texts=None):<DEDENT>
<EOL>suffictinet_texts = suffictinet_texts or ["<STR_LIT>"]<EOL>for foo in range(constants.DEFAULT_RETRYTIMEOUT):<EOL><INDENT>time.sleep(constants.DEFAULT_SLEEP)<EOL>out = run_cmd(<EOL>["<STR_LIT>", "<STR_LIT>", "<STR_LIT:status>", name],<EOL>ignore_status=True, return_output=True)<EOL>for restr in suffictinet_texts:<EOL><INDENT>if restr in out:<EOL><INDENT>time.sleep(constants.DEFAULT_SLEEP)<EOL>return True<EOL><DEDENT><DEDENT><DEDENT>raise ConuException(<EOL>"<STR_LIT>" %<EOL>(name, constants.DEFAULT_RETRYTIMEOUT, suffictinet_texts))<EOL>
Internal method
wait until machine is ready, in common case means there is running systemd-logind

:param name: str with machine name
:param suffictinet_texts: alternative text to check in output
:return: True or exception