Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try to get IP of VM only when its state is Running
for crc status command to get the status of the OpenShift cluster we need the IP address of the VM but while using network-mode 'system' and a Stopped VM this fails with: Error getting ip: host is not running this checks if the VM is in Running state before trying to get the VM IP we do not the see the same error for 'user' network-mode as in that case the VM ip is always 127.0.0.1
- Loading branch information