def install_guest(self, guest_name): remote_ip = self.confs._confs["installation_host_ip"] username = self.confs._confs["host_username"] password = self.confs._confs["host_password"] # virsh_command = VirshCommand(remote_ip, username, password) virsh_command = VirshCommand(remote_ip, username, password) self.target_ip = virsh_command.create_vm("AUTO-%s" % guest_name)
def install_guest(self, host_ip, host_user, host_passwd, guest_name, guest_compose=default_rhel_build): virsh_command = VirshCommand(host_ip, host_user, host_passwd) guest_ip, guest_user, guest_passwd = virsh_command.create_vm( guest_name, guest_compose) return guest_ip, guest_user, guest_passwd
def install_guest(self, host_ip, host_user, host_passwd, guest_name, guest_compose=default_rhel_build): virsh_command = VirshCommand(host_ip, host_user, host_passwd) guest_ip, guest_user, guest_passwd = virsh_command.create_vm(guest_name, guest_compose) return guest_ip, guest_user, guest_passwd