From abdb8b8f0dbafe97f1ce6ae34c64ea8145053d64 Mon Sep 17 00:00:00 2001 From: Zahid Bukhari <70972572+zbukhari-apex@users.noreply.github.com> Date: Mon, 26 Jun 2023 18:32:28 -0500 Subject: [PATCH] Update upload_file_to_vm.py vm_pwd was used which was incorrect the argument should be vm_password. --- samples/upload_file_to_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/upload_file_to_vm.py b/samples/upload_file_to_vm.py index 95c25171..262f4f46 100755 --- a/samples/upload_file_to_vm.py +++ b/samples/upload_file_to_vm.py @@ -54,7 +54,7 @@ def main(): "is running") creds = vim.vm.guest.NamePasswordAuthentication( - username=args.vm_user, password=args.vm_pwd) + username=args.vm_user, password=args.vm_password) with open(args.local_file_path, 'rb') as myfile: data_to_send = myfile.read()