Open
Description
for reasons of backwards compatibility, we've made ioc
's command line interface as inconsistent as its predecessors'.
currently we have three formats, which mostly differ where the <jail>
, that is being operated on is placed, and how it's passed.
-
via the
--name
option:ioc create --name <jail>
-
as first (and only parameter)
ioc start <jail>
-
as first parameter of infinitely many:
ioc exec <jail> cat /etc/passwd
-
as last parameter of infinitely many:
ioc set ip4_addr='vtnet0|172.16.0.9/12' template=no <jail>
i propose standardizing on one format.
if we want to provide backwards compatibility, we should do this shims that our users can install themselves in place of the iocace_legacy (/usr/local/sbin/iocage
) or iocage (/usr/local/bin/iocage
) binaries.