Lines Matching refs:multihost

34         self.multihost = Host
44 self.multihost.log.info("Taking backup of /etc/resolv.conf")
45 output = self.multihost.run_command(['cp', '-f', '/etc/resolv.conf',
49 self.multihost.log.info("/etc/resolv.conf successfully backed up")
50 self.multihost.log.info("Add ip addr %s in resolv.conf" % ip_addr)
52 contents = self.multihost.get_file_contents('/etc/resolv.conf')
55 self.multihost.put_file_contents('/etc/resolv.conf', contents)
68 authconfig = RedHatAuthConfig(self.multihost)
69 self.multihost.log.info("Take backup of current authconfig")
71 self.multihost.run_command(['domainname'], raiseonerr=False)
81 authconfig = RedHatAuthConfig(self.multihost)
104 self.multihost.transport.put_file(tmp_file_path, '/etc/samba/smb.conf')
122 cmd = self.multihost.run_command(['realm', 'join', domainname,
146 cmd = self.multihost.run_command(['realm', 'leave',
165 self.multihost.transport.get_file('/etc/exports', '/tmp/exports')
167 cmd = self.multihost.run_command(['mkdir', '-p', local_dir],
176 self.multihost.transport.put_file('/tmp/exports', '/etc/exports')
185 cmd = self.multihost.run_command(['ls', cache_path], raiseonerr=False)
193 rm_file = self.multihost.run_command(['rm', '-f',
229 cmd = self.multihost.run_command(['rm', '-rf', path], raiseonerr=False)
245 cmd = self.multihost.run_command(['net', 'ads', 'dn', user_dn],
278 self.multihost.put_file_contents(exp_file, expect_script)
282 cmd = self.multihost.run_command(['expect', '-f', exp_file],
298 krb5_server = self.multihost.sys_hostname
340 self.multihost.run_command(['cp', '-f', '/etc/krb5.conf',
342 self.multihost.transport.put_file(temp_file_path, '/etc/krb5.conf')
360 self.multihost.transport.put_file(temp_file_path, kcm_cache_file)
363 cmd = self.multihost.run_command(enable_sssd_kcm_socket,
367 self.multihost.run_command(['ls', '-l', symlink])
369 self.multihost.log.info("kcm socket not enabled")
372 cmd = self.multihost.run_command(start_ssd_kcm_socket,
377 cmd = self.multihost.run_command(start_sssd_kcm_service,
383 self.multihost.run_command(['ls', '-l', symlink])
385 self.multihost.log.info("kcm socket not enabled")