Exemplo n.º 1
0
    def _dict_insert_sys_info(self):
        """Insert into system info."""
        if not self._map:
            self._map = {}

        self._map["host"] = sys_info.get_hostname()
        self._map["ip"] = sys_info.get_local_ip()
        self._map["id_rsa_pub"] = sys_info.get_rsa_key()
Exemplo n.º 2
0
    def _dict_insert_sys_info(self):
        """Insert into system info."""
        if not self._map:
            self._map = {}

        self._map["host"] = sys_info.get_hostname()
        self._map["ip"] = sys_info.get_local_ip()
        self._map["id_rsa_pub"] = sys_info.get_rsa_key()