2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-16 08:10:23 +00:00

fix bug 4032:$password not single quoted in /opt/xcat/share/xcat/cons/ipmi

This commit is contained in:
zhaoertao
2014-04-08 02:17:49 -07:00
parent cbdbf16c39
commit 97b9c613cc

View File

@@ -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 = '';
}