from .config import CrTplConfiguration
-__version__ = '0.2.1'
+__version__ = '0.2.2'
LOG = logging.getLogger(__name__)
Descendant classes may override this method.
"""
- pass
+ if self.args.host:
+ self.config.vsphere_host = self.args.host
+ if self.args.port:
+ self.config.vsphere_port = self.args.port
+ if self.args.user:
+ self.config.vsphere_user = self.args.user
+ if self.args.password:
+ self.config.password = self.args.password
+ if self.args.folder:
+ self.config.folder = self.args.folder
+ if self.args.vm:
+ self.config.template_vm = self.args.vm
+ if self.args.template:
+ self.config.template_name = self.args.template
# -------------------------------------------------------------------------
def _init_env(self):