summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-05 13:32:55 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-05 13:32:55 -0700
commit9aa7cf635d60975b0c98dea5f5ea1152703f2a9e (patch)
tree50350da4ef42c4fc433766a0985b9ac9fd57ceaf /templates
parent31e51e44e7ada18f40a673613692973e835b48ce (diff)
downloadvyatta-op-9aa7cf635d60975b0c98dea5f5ea1152703f2a9e.tar.gz
vyatta-op-9aa7cf635d60975b0c98dea5f5ea1152703f2a9e.zip
Add operator to show disk format
Need sudo before sfdisk Bug 4142
Diffstat (limited to 'templates')
-rw-r--r--templates/show/disk/node.tag/format/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/disk/node.tag/format/node.def b/templates/show/disk/node.tag/format/node.def
index ef65197..ad87cfc 100644
--- a/templates/show/disk/node.tag/format/node.def
+++ b/templates/show/disk/node.tag/format/node.def
@@ -4,4 +4,4 @@ run: disk_dev="/dev/$3"
then echo "$3 is not a disk device"
exit 1
fi
- /sbin/fdisk -l "$disk_dev"
+ sudo /sbin/fdisk -l "$disk_dev"