def __init__(self, data, conf): logger.debug("Initializing driver %s: host=%s", self.__class__.__name__, data.get("host")) self.data = data self.host = self.data.get("host", "localhost") self.local = is_local(self.host) self.conf = conf
def __init__(self, data, conf): logger.debug("Initializing driver %s: host=%s", self.__class__.__name__, data.get("host")) self.data = data self.host = self.data.get("host", {}).get("address", "localhost") self.ssh_key = self.data.get("host", {}).get("ssh-key") self.local = utils.is_local(self.host) self.conf = conf