TheChosenOne
TheChosenOne

Reputation: 105

How to identify whether a linux VM is running on hyper-v environment?

I want to know if the linux VM is running on Hyper-V environment. Is there any way I can identify? Thank you !

Upvotes: 0

Views: 600

Answers (1)

lww
lww

Reputation: 661

It can be determined by installing virt-what

here is documentation https://linux.die.net/man/1/virt-what

as an example, install on ubuntu:

sudo apt install virt-what

usage:

sudo virt-what

Upvotes: 1

Related Questions