def _set_init_system(self, client):
if not self.init_system:<EOL><INDENT>try:<EOL><INDENT>out = ipa_utils.execute_ssh_command(<EOL>client,<EOL>'<STR_LIT>'<EOL>)<EOL><DEDENT>except Exception as e:<EOL><INDENT>raise IpaDistroException(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>' % e<EOL>)<EOL><DEDENT>if out:<EOL><INDENT>self.init_system = out.strip()<EOL><DEDENT><DEDENT>
Determine the init system of distribution.