Signed-off-by: Sage Weil <sage@newdream.net>
os.path.join(home, f))
mounts[home] = '/root'
+ for i in ctx.volume:
+ a, b = i.split(':', 1)
+ mounts[a] = b
+
c = CephContainer(
ctx,
image=ctx.image,
action='append',
default=[],
help='set environment variable')
+ parser_shell.add_argument(
+ '--volume', '-v',
+ action='append',
+ default=[],
+ help='set environment variable')
parser_shell.add_argument(
'command', nargs=argparse.REMAINDER,
help='command (optional)')