|
@@ -3,7 +3,8 @@ import yaml |
|
|
import os
|
|
|
import os
|
|
|
# from weir import zfs, process
|
|
|
# from weir import zfs, process
|
|
|
from .image import command_image_build, \
|
|
|
from .image import command_image_build, \
|
|
|
command_image_untag
|
|
|
|
|
|
|
|
|
command_image_untag, \
|
|
|
|
|
|
command_image_list
|
|
|
import sys
|
|
|
import sys
|
|
|
from .zfs import zfs_init
|
|
|
from .zfs import zfs_init
|
|
|
from .jail import command_jail_run
|
|
|
from .jail import command_jail_run
|
|
@@ -23,6 +24,10 @@ def create_parser(): |
|
|
parser.set_defaults(func=command_image_untag)
|
|
|
parser.set_defaults(func=command_image_untag)
|
|
|
parser.add_argument('tags', type=str, nargs='+', default=[])
|
|
|
parser.add_argument('tags', type=str, nargs='+', default=[])
|
|
|
|
|
|
|
|
|
|
|
|
parser = subparsers.add_parser('list')
|
|
|
|
|
|
parser.set_defaults(func=command_image_list)
|
|
|
|
|
|
parser.add_argument('--full-sha256', '-f', action='store_true')
|
|
|
|
|
|
|
|
|
subparsers = subparsers_top.add_parser('jail').add_subparsers()
|
|
|
subparsers = subparsers_top.add_parser('jail').add_subparsers()
|
|
|
parser = subparsers.add_parser('run')
|
|
|
parser = subparsers.add_parser('run')
|
|
|
parser.set_defaults(func=command_jail_run)
|
|
|
parser.set_defaults(func=command_jail_run)
|
|
|