2020年12月27日日曜日

virt-what / systemd-detect-virt

[katsuji@rawhide ~]$ systemd-detect-virt
vmware 

[katsuji@rawhide ~]$ sudo virt-what
sudo: virt-what: コマンドが見つかりません
[katsuji@rawhide ~]$ dnf search virt-what
Fedora 34 openh264 (From Cisco) - x86_64                                 1.2 kB/s | 2.5 kB     00:02    
Fedora - Modular Rawhide - Developmental packages for the next Fedora re 5.5 MB/s | 5.3 MB     00:00    
Fedora - Rawhide - Developmental packages for the next Fedora release    6.8 MB/s |  73 MB     00:10    
======================================= 名前 完全一致: virt-what ========================================
virt-what.x86_64 : Detect if we are running in a virtual machine
[katsuji@rawhide ~]$ sudo dnf -y install virt-what
 

(snip)


インストール済み:
  virt-what-1.20-4.fc33.x86_64                                                                           

完了しました!
[katsuji@rawhide ~]$ sudo virt-what
vmware

virt-what http://people.redhat.com/~rjones/virt-what/

systemd-detect-virt https://www.freedesktop.org/software/systemd/man/systemd-detect-virt.html

0 件のコメント:

コメントを投稿