So I run this from a command line to open putty and connect. It works fine without the script.
putty.exe -ssh email@example.com -pw ****** -m "C:\newVM.sh"
The script is:
#creates a clone of Server2016
#vm.clone aTest clone_from_vm="Server2016RefImage" memory=8G num_cores_per_vcpu=2 num_vcpus=2;
#creates a D drive
# vm.disk_create aTest bus=scsi create_size=200G index=1 container="Container-1";
#Add a NIC
#vm.nic_create aTest connected=true network="Vlan6";
Each line will run fine if I run it in putty but I am not sure if I am stringing the commands together correctly. If I try to execute the script it opens the putty session then freezes.
Am I just barking up the wrong tree? Is there somewhere I can go for some basic knowledge for this? Some youtube videos or something on Pluralsight? The nutanix documentation can only get me so far and other than that and here I can find no other resources for Nutanix. Sorry for the newbie question but I am stumped.
Best answer by galad2003View original