diff --git a/distro/centos/centos.go b/distro/centos/centos.go index 768ce44..dd2e08d 100644 --- a/distro/centos/centos.go +++ b/distro/centos/centos.go @@ -130,7 +130,11 @@ func (centos CentOS) runs() (commands []string) { cmdf("yum -y groupinstall 'Development Tools'") - cmdf("yum -y install linux-firmware") + if centos.release <= 6 { + cmdf("yum -y install kernel-firmware") + } else { + cmdf("yum -y install linux-firmware") + } if centos.release < "8" { cmdf("yum -y install deltarpm")