vCSA5.5中可以登录到端口5480中去上传,vCSA 6.0以后就不支持了。但是可以通过Enable “Pi Shell”来做。

首先确保vCSA的ssh可用:

0. Make sure that SSH in enabled on the VCSA. Home > Administration > System configuration (under Deployment) > Select the node > Actions > Edit Settings

How to upload windows Sysprep Files to VMware vCenter Server Appliance 6.5(vC_第1张图片

1. log in to the VCSA by using for example Putty SSH client and use your root account and password you used during the installation.

2. Enter this to enable the “pi shell”

shell.set –-enabled true
shell
chsh -s “/bin/bash” root

exit

shell.set –-enabled false

 

3. Then you can use for example WinSCP and upload the sysprep files to the individual folders which do not needs to be created as they’re there.

The filepath is /etc/vmware-vpx/sysprep

How to upload windows Sysprep Files to VMware vCenter Server Appliance 6.5(vC_第2张图片

Update: Make sure that you disable the shell when you finish.

shell.set –enabled false