Description of problem:
The default command for using the terminal on Windows Pods is currently `sh`, which causes the terminal to not work for windows pods.
Change the terminal command for windows pods to `cmd`. This can be changed based on the underlying os of the pod.
Windows Pod have:
- key: "os"
Steps to Reproduce:
1. Bring up Windows Machine Config Operator https://github.com/openshift/windows-machine-config-operator
2. Bring up a Windows Node
3. Deploy a Windows Workload
4. Open Terminal on Console
Terminal Does not work on Console
Terminal works on Console
For questions regarding Windows Nodes, workloads, etc ping on #forum-winc, tag @winc-team on Slack
Set up ocp 4.7 cluster containing windows node with payload 4.7.0-0.nightly-2020-10-15-011122.
Create a windows workload on the cluster, check the pod's terminal, it's using windows terminal cmd.
The bug is fixed.
Created attachment 1721791 [details]
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.