我正在使用指示 VMware Tools OSP 已安装并正在运行的 Redhat VM,因为其在 vSphere 中的 VMware Tools 状态为“正在运行(第 3 方/独立)”。我还通过运行以下命令验证了 VMware Tools 守护进程
vmtoolsd
正在运行...
# pgrep -fl vmtoolsd
>> 6048 /usr/bin/vmtoolsd
但是,每当我尝试运行
vmware-toolbox-cmd
命令时,它都会说找不到命令。此虚拟机安装了 VMware Tools OSP 但没有相应的命令,缺少什么?
The graphical user interface for VMware Tools, which is sometimes called the VMware Tools control panel and which is available from the notification area in the guest operating system, has been deprecated
但是,您可以在主机上 VMWare Player 的图形用户界面中找到工具箱的设置,例如“自动更新”(如 Player -> 管理 -> 虚拟机设置 -> 选项 -> VMware Tools)。
至于
vmware-toolbox-cmd
没有做任何事情”?你打赌它会做任何事情,请阅读上面的文档。
如果消息是
vmware-toolbox-cmd: Missing command
Try 'vmware-toolbox-cmd help' for more information.
那么就不是缺少
vmware-toolbox-cmd
命令。这是当您不给它命令时它返回的错误。这不是菜单。
运行建议的帮助命令应该给出如下提示:
vmware-toolbox-cmd help
Usage: vmware-toolbox-cmd <command> [options] [subcommand]
Type 'vmware-toolbox-cmd help <command>' for help on a specific command.
Type 'vmware-toolbox-cmd -v' to see the VMware Tools version.
Use '-q' option to suppress stdout output.
Most commands take a subcommand.
Available commands:
config
device
disk (not available on all operating systems)
globalconf (not available on all operating systems)
gueststore (not available on all operating systems)
info
logging
script
stat
timesync
upgrade (not available on all operating systems)