GNS3 / gns3-gui

GNS3 Graphical Network Simulator
http://www.gns3.com
GNU General Public License v3.0
2.17k stars 436 forks source link

Password prompt for VMware TPM vms #3571

Open jjcortes22 opened 8 months ago

jjcortes22 commented 8 months ago

GNS3 Version: GNS3 v2.2.46 Operating System: Linux

Good day,

I am using Workstation PRO for all my VMs, I have created a VM with Windows 10 and enabled TPM:

-Enabled encryption and created a password -Added TMP module under hardware -The VM is imported into GNS3, open new project and drag the VM to the topology.

The VM wont start when click in play, however when I start GNS3 Via CLI "gns3", and I click play in this VM, the CLI prompts for the TPM password:

sada

Once I supply the TPM password, the vm boots fine, the passwords is asked again to power off the vm.

Can I add somewhere in the config of the VM the TPM password so I dont have to start GNS3 using the CLI?, Or can a "TPM password" field be added inside the VMware VM?

If a parameter already exist to add the password for this node, can I please have it?

Thank you!

jjcortes22 commented 6 months ago

Thank you!!!!!! <3

grossmj commented 6 months ago

I am a bit concerned about handling VM passwords. Should we ask the password the first time a VM is started and not store anything or should we store VM passwords in a secured way locally on the GNS3 server?

jjcortes22 commented 6 months ago

Hi, Good question, either let the password be stored in the vm config under settings, or, send a pop up when the machine is powered on. I think the pop up would make it easier, and a check to "remember password". A "Clear password" button can also be added in the vm settings, in case the password has changed. Can the CLI password prompt be redirected to a pop up? Gracias!