Skip to content

Commit

Permalink
change name of root device
Browse files Browse the repository at this point in the history
  • Loading branch information
ianshward committed Nov 29, 2011
1 parent 4754f19 commit 2903f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/rootdisk.check
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports.definition = {
"interval": 60000,
"command": function(cb) {
var res = {};
sh('df')('grep -m1 "/dev/sda1"')('tr -s " "')('cut -d " " -f 5').result(function(value) {
sh('df')('grep -m1 "/dev/xvda1"')('tr -s " "')('cut -d " " -f 5').result(function(value) {
res.value = value.substring(0, value.length -2);
sh('wget -q -O - http://169.254.169.254/latest/meta-data/instance-id').result(function(instance) {
res.instance = instance;
Expand Down

0 comments on commit 2903f6b

Please sign in to comment.