View Issue Details

IDProjectCategoryView StatusLast Update
0008335CentOS-7anacondapublic2015-03-24 16:05
Status newResolutionopen 
Platformx86_64OSCentOSOS Version7
Product Version7.0-1406 
Target VersionFixed in Version 
Summary0008335: lspci command is unavailable during pxe installation
DescriptionUsing images from
to install centos 7 via PXE, the lspci command is unavailable in kickstart %pre section.

We are trying to determine if the machine is virtual or not using the following in a kickstart file:
if /sbin/lspci | /bin/grep -iqE 'virtio|qumranet|virtualbox|vbox|vmware' ; then

But the lspci command is unavailable at this time. (It becomes available in %post section)

It is working well with Centos 6 and any Fedora version.
Additional InformationDuring anaconda installation, we switched to 2:shell and tried to launch lspci command or to find another location for lspci. It does not exist on the system.

"bash: lspci: command not found"
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-03-24 16:05 dionyweb New Issue