-
Notifications
You must be signed in to change notification settings - Fork 912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How I can do run code in vm, without govc ? #2458
Comments
Howdy 🖐 ahmtxonly ! Thank you for your interest in this project. We value your feedback and will respond soon. If you want to contribute to this project, please make yourself familiar with the |
Just to understand: you don't (can't) want to use govc and are looking for a programmatic approach using the govmomi SDK? |
Yes I don't want to use govc, I want make a managed virtual server system with control panel @embano1 Clone vm > change disk capacity > change network settings (ip,netmask, getaway) > change password |
Thank you so much for this; Any chance to provide a very small code sample for me? in order to progress in a healthy way @embano1 |
@ahmtxonly example of Clone here: govmomi/object/example_test.go Line 227 in fcc3c80
And changing network settings via Customize here: govmomi/object/example_test.go Line 97 in fcc3c80
Example of running guest commands in the Lines 75 to 99 in fcc3c80
|
I could not start it |
How can I run the following code on the virtual machine, without using govc?
echo "linuxpassword" | passwd --stdin linuxuser
or
./runscipt.sh
I'm stuck on this
I'm trying to learn the logic of using govc commands outside.
The text was updated successfully, but these errors were encountered: