diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-05 13:32:55 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-08-12 22:03:06 -0700 |
commit | ff66196fb742317d6721706ad8d2965cf5c6d221 (patch) | |
tree | 89cd0f8177a7dd670333f60d92b16a161f09d5cb /templates/show | |
parent | 6cc3dc8043dd28793c677bfcb34a2a43061e5459 (diff) | |
download | vyatta-op-ff66196fb742317d6721706ad8d2965cf5c6d221.tar.gz vyatta-op-ff66196fb742317d6721706ad8d2965cf5c6d221.zip |
Add operator to show disk format
Need sudo before sfdisk
Bug 4142
Diffstat (limited to 'templates/show')
-rw-r--r-- | templates/show/disk/node.tag/format/node.def | 2 |
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" |