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

[xCAT-Server]Fix #253 with minor improvement

This commit is contained in:
Samveen Gulati
2015-10-11 10:59:48 +00:00
parent 4bbde50119
commit 9015913661
2 changed files with 2 additions and 2 deletions

View File

@@ -237,7 +237,7 @@ else
fi
BOOTFSTYPE=ext3
EFIFSTYPE=vfat
if uname -r|grep ^3.*el7 > /dev/null; then
if uname -r|grep -q '^3.*el7'; then
FSTYPE=xfs
BOOTFSTYPE=xfs
EFIFSTYPE=efi

View File

@@ -200,7 +200,7 @@ fi
BOOTFSTYPE=ext3
EFIFSTYPE=vfat
if uname -r|grep '^3.*el7' > /dev/null; then
if uname -r|grep -q '^3.*el7'; then
BOOTFSTYPE=xfs
FSTYPE=xfs
EFIFSTYPE=efi