This commit is contained in:
William Mantly 2016-01-31 01:18:27 -05:00
parent 6a50e833b2
commit ee3174cbf1
2 changed files with 6 additions and 5 deletions

8
lxc.js
View File

@ -76,9 +76,7 @@ var lxc = {
var temp = data[i].split(/\:\s+/); var temp = data[i].split(/\:\s+/);
info[temp[0].toLowerCase().trim()] = temp[1].trim(); info[temp[0].toLowerCase().trim()] = temp[1].trim();
} }
callback(info);
var args = [info].concat([].slice.call(arguments).slice(1,99));
return callback.apply(this, args);
}); });
}, },
@ -101,8 +99,8 @@ var lxc = {
info.push(mapOut); info.push(mapOut);
} }
var args = [info].concat([].slice.call(arguments).slice(1,99));
return callback.apply(this, args); callback(info);
}); });
} }
}; };

3
rx.sh Normal file
View File

@ -0,0 +1,3 @@
sudo cgm create all virt
sudo cgm chown all virt $(id -u virt) $(id -g virt)