Also line 146 and 147 can be simplified as below, no need to pass None, when the function uses kwargs.

 self.operatingsys.update(os_name, template=template_name)