summaryrefslogtreecommitdiffstats
path: root/lib/sunhpc/commands/report/distro/__init__.py
blob: 4d053694847107ae8d93c286bd812332c09ee664 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#coding:utf-8

import sunhpc
class Command(sunhpc.commands.report.command):
    """
    Output the path prefix for the location of the Rocks distribution.

    <example cmd='report distro'>
    Output the current path prefix to the distribution.
    </example>
    """
    def run(self, params, args):
        distrodir = '/export/sunhpc/install'

        self.beginOutput()
        self.addOutput('', distrodir)
        self.endOutput(padChar='')

RollName = "base"