diff --git a/xCAT-server/lib/xcat/plugins/AAsn.pm b/xCAT-server/lib/xcat/plugins/AAsn.pm index 540e0bdce..953a4f658 100755 --- a/xCAT-server/lib/xcat/plugins/AAsn.pm +++ b/xCAT-server/lib/xcat/plugins/AAsn.pm @@ -429,7 +429,7 @@ sub setupInstallloc { # update fstab - my $cmd = "grep $master:$installloc $installdir /etc/fstab "; + my $cmd = "grep \"$master:$installloc $installdir\" /etc/fstab "; xCAT::Utils->runcmd($cmd, -1); if ($::RUNCMD_RC != 0) {