def _head(self, resource_type, value=None, path_args=None):
        res = self._get_resource(resource_type, value, path_args)

        return res.head(self.session)
Function to execute a command on the guest using SSH and return the output.
dataset/ETHPy150Open openstack/python-openstacksdk/openstack/proxy.py/BaseProxy._head--crossover with--dataset/ETHPy150Open redhat-imaging/imagefactory/imgfac/FactoryUtils.py/ssh_execute_command