diff --git a/xCAT-server/share/xcat/cons/ipmi b/xCAT-server/share/xcat/cons/ipmi index d718073b7..26bf99b3d 100755 --- a/xCAT-server/share/xcat/cons/ipmi +++ b/xCAT-server/share/xcat/cons/ipmi @@ -72,12 +72,12 @@ release_lock(); my ($user,$pass); if ($username) { - $user = "-U $username"; + $user = "-U '$username'"; } else { $user = ''; } if ($password) { - $pass = "-P $password"; + $pass = "-P '$password'"; } else { $pass = ''; }