VMware Cloud Community
rspoto
Contributor
Contributor

6.7 U3 14320388 enabling ssh/esx shell not working in %firstboot

Hello -

New installation of 6.7.0 build 14320388 and have the following in %firstboot section:

vim-cmd hostsvc/enable_ssh 2>&1 >> /tmp/log

vim-cmd hostsvc/start_ssh 2>&1 >> /tmp/log

vim-cmd hostsvc/enable_esx_shell 2>&1 >> /log

vim-cmd hostsvc/start_esx_shell 2>&1 >> log

This has worked previously with no issues.  With this latest build, neither SSH nor the ESX shell are getting enabled.  The firstboot is running as I get the log file and other commands in the section are running, however this just isn't.  There's no errors spit out anywhere either.

Note also that a esxcli network interface ipv4 get command returns an error of "Connection failed".

I tried adding /etc/init.d/vpxa status and hostd status to the log, and they both show as running.

Any thoughts???  Thanks in advance.

0 Kudos
2 Replies
itsthedeal
Contributor
Contributor

Did you disabled secure boot in case of UEFI boot??

Otherwise %firstboot% won't work.

0 Kudos
rspoto
Contributor
Contributor

Thanks for the reply.  Secure Boot is not enabled.  In fact these are Legacy boot systems.

0 Kudos