Hello. I tried to create jail by handbook on page Chapter 16. Jails. I created /usr/etc/jail.conf as
run "
result
What about error here? Line 3 is "ip4.addr = 192.168.1.40;"?
Code:
shumbely {
host.hostname = www.shumbely.com # Hostname
ip4.addr = 192.168.1.40; # IP address of the jail
path = "/usr/home/jails/shumbely"; # Path to the jail
mount.devfs; # Mount devfs inside the jail
exec.start = "/bin/sh /etc/rc"; # Start command
exec.stop = "/bin/sh /etc/rc.shutdown"; # Stop command
}
run "
service jail start shumbely
" -result
Starting jails: cannot start jail "shumbely":
jail: /etc/jail.conf line 3: ip4.addr: syntax error
What about error here? Line 3 is "ip4.addr = 192.168.1.40;"?