Skip to content
Browse files

change name of root device

  • Loading branch information...
1 parent 4754f19 commit 2903f6b60b8750fba52eb68f2c0dafc0a0a94893 @ianshward committed Nov 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 checks/rootdisk.check
View
2 checks/rootdisk.check
@@ -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;

0 comments on commit 2903f6b

Please sign in to comment.
Something went wrong with that request. Please try again.