Corrected typo in nodeset.js
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
055581e818
commit
d5e1d9bf01
@ -229,6 +229,8 @@ function updateNodesetStatus(data) {
|
||||
} else {
|
||||
// Create target nodes string
|
||||
var tgtNodesStr = '';
|
||||
var nodes = tgts.split(',');
|
||||
|
||||
// Loop through each node
|
||||
for ( var i in nodes) {
|
||||
// If it is the 1st and only node
|
||||
@ -252,21 +254,19 @@ function updateNodesetStatus(data) {
|
||||
}
|
||||
|
||||
$('#' + statBarId).append('<p>Node definition created for ' + tgtNodesStr + '</p>');
|
||||
$.ajax( {
|
||||
url : 'lib/cmd.php',
|
||||
dataType : 'json',
|
||||
data : {
|
||||
cmd : 'makehosts',
|
||||
tgt : '',
|
||||
args : '',
|
||||
msg : 'cmd=makehosts;inst=' + inst
|
||||
},
|
||||
|
||||
success : updateNodesetStatus
|
||||
});
|
||||
}
|
||||
|
||||
// Update /etc/hosts
|
||||
$.ajax( {
|
||||
url : 'lib/cmd.php',
|
||||
dataType : 'json',
|
||||
data : {
|
||||
cmd : 'makehosts',
|
||||
tgt : '',
|
||||
args : '',
|
||||
msg : 'cmd=makehosts;inst=' + inst
|
||||
},
|
||||
|
||||
success : updateNodesetStatus
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user