FreeBSD9でjailを始めようとしています
構成:
etc / rc.conf:
#jails:
jail_enable="YES"
jail_interface="re0"
jail_devfs_enable="YES"
jail_procfs_enable="YES"
jail_set_hostname_allow="YES"
jail_list="test"
ifconfig_em0_alias0="inet 192.168.9.254 netmask 255.255.255.255"
jail_test_rootdir="/usr/home/jails/test.local"
jail_test_hostname="test.local"
jail_test_ip="192.168.9.254"
jail_test_interface="re0"
jail_test_devfs_enable="YES"
jail_test_procfs_enable="YES"
jail_test_exec_start="/bin/sh /etc/rc"
jail_test_exec_stop="/bin/sh /etc/rc.shutdown"
jail_test_flags="-l -U root"
この後、私はそれを始めようとしています:
mybsd#jail start
またはmybsd#jail start testしかし、どちらのコマンドも次のようなエラーを返します。
jail: no -c or -m, so this must be an old-style command.
But it doesn't look like one.
「新しいスタイル」のコマンドで刑務所を開始する方法を教えてください。
どうもありがとう!