def _set_distro(self):
if self.distro_name == '<STR_LIT>':<EOL><INDENT>self.distro = SLES()<EOL><DEDENT>elif self.distro_name == '<STR_LIT>':<EOL><INDENT>self.distro = openSUSE_Leap()<EOL><DEDENT>else:<EOL><INDENT>raise IpaCloudException(<EOL>'<STR_LIT>' % self.distro_name<EOL>)<EOL><DEDENT>
Determine distro for image and create instance of class.