I am a newbie server manager and trying jails. It's too hard to configure it. So I decided to use ezjail
utility. It seems working, but I got an issue.
When I installed my FreeBSD box, it was 9.0-RELEASE
. After I upgrade it, it became 9.1-RELEASE-p7
.
The problem is ezjail
tried to download FreeBSD distro from FreeBSD FTP site. And it failed because ezjail wanted 9.1-RELEASE-p7
and the site has only 9.1-RELEASE
.
I tried forcing download by manually specifying 9.1-RELEASE
path, but created jail doesn't work with this message.
Configuring jails:.
Starting jails: cannot start jail "example_com":
.
Error: Could not start example.com
You need to start it by hand.
I have no idea why it doesn't work. What is the recommended way to configure a jail for beginner?
P.S. My test VM is using DHCP and doesn't have static IP and domain name. can it cause this problem?
Update
I succeeded to install a jail using bsdinstall jail $JAIL_NAME
. Anyway, I have no idea how it's done...
I switched to
qjail
, and it's working magically. All I need is only FreeBSD disc. I think difference of patch-level may cause some problem, but currently, I satisfied onqjail
.