Hello,
I now gave up trying to use VIMAGE for jail use. Fortunately there are other options to go
I created two VLAN interfaces:
Then I created some jails using them:
How do I solve this? What have I forgotten?
I now gave up trying to use VIMAGE for jail use. Fortunately there are other options to go
I created two VLAN interfaces:
Code:
# ifconfig vlan0 create vlan 1 vlandev em0
# ifconfig vlan0 inet 10.0.0.0 netmask 255.255.255.0
# ifconfig vlan1 create vlan 2 vlandev em0
# ifconfig vlan1 inet 10.0.0.1 netmask 255.255.255.0
Then I created some jails using them:
Code:
# ezjail-admin create -c zfs build 10.0.0.0
# ezjail-admin create -c zfs www 10.0.0.1
# mkdir /usr/jails/build/var/ports
# echo '/usr/jails/basejail/usr/ports /usr/jails/build/var/ports nullfs rw 0 0' >> /etc/fstab.build
# ezjail-admin start build
# jexec 2 sh
# cd /usr/ports/ports-mgmt/portmaster && make install clean
===> License check disabled, port has not defined LICENSE
===> Found saved configuration for portmaster-3.11
=> portmaster-3.11.tar.gz doesn't seem to exist in /var/ports/distfiles/.
=> Attempting to fetch http://dougbarton.us/Downloads/portmaster-3.11.tar.gz
fetch: http://dougbarton.us/Downloads/portmaster-3.11.tar.gz: No address record
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/portmaster-3.11.tar.gz
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/portmaster-3.11.tar.gz: No address record
=> Couldn't fetch it - please try to retrieve this
=> port manually into /var/ports/distfiles/ and try again.
*** Error code 1
Stop in /basejail/usr/ports/ports-mgmt/portmaster.
*** Error code 1
Stop in /basejail/usr/ports/ports-mgmt/portmaster.
How do I solve this? What have I forgotten?