2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 18:50:28 +00:00

SLE15: genimage fix $osver_host detection

This commit is contained in:
Markus Hilger
2020-01-17 10:25:36 +01:00
parent b366a1d589
commit 9ebdcafa63

View File

@@ -203,7 +203,7 @@ unless (grep /af_packet/, @ndrivers) {
}
my $osver_host;
if (`grep VERSION /etc/os-release` =~ /VERSION = (\d+)/) {
if (`grep VERSION /etc/os-release` =~ /VERSION="(\d+)/) {
$osver_host = $1;
} else {
$osver_host = 11;