jails warning: no such /etc/rc.conf: , skip for config ifconfig_eth0

Freezed again trying to configure a jail using cbsd...

Code:
root@marietto:/usr/home/marietto # cbsd jcreate jname=buster jprofile=debian_buster allow_raw_socket=1 vnet=1

Use profile: /usr/jails/etc/defaults/jail-freebsd-debian_buster.conf
Please wait: this will take a while...
Applying custom skel system dir template from: /usr/local/cbsd/share/FreeBSD-jail-debian-buster-system-skel   
Applying custom skel dir template from: /usr/local/cbsd/share/FreeBSD-jail-debian-buster-skel                   


To edit VM properties use: cbsd jconfig jname=buster
To start VM use: cbsd jstart buster
To stop VM use: cbsd jstop buster
To remove VM use: cbsd jremove buster
For attach VM console use: cbsd jlogin buster

Creating buster complete: Enjoy!
jcreate done in 7 seconds

root@marietto:/usr/home/marietto # cbsd jls
 
JNAME   JID  IP4_ADDR     HOST_HOSTNAME PATH STATUS                                                             
buster  0    192.168.1.2  buster.my.domain  /usr/jails/jails-data/buster-data  Off                             

root@marietto:/usr/home/marietto # ifconfig

em0: flags=8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4810099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWFILTER,NOMAP>
ether e0:d5:5e:e2:1f:22
inet 192.168.1.6 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 58:9c:fc:10:ff:b7
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: tap3 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 7 priority 128 path cost 2000000
member: tap2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 6 priority 128 path cost 2000000
member: tap1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 5 priority 128 path cost 2000000
member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 4 priority 128 path cost 2000000
member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 2000000
groups: bridge
nd6 options=9<PERFORMNUD,IFDISABLED>

tap0: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 58:9c:fc:10:ff:8e
groups: tap
media: Ethernet autoselect
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

tap1: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 58:9c:fc:10:ff:e9
groups: tap
media: Ethernet autoselect
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

tap2: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 58:9c:fc:10:ff:d7
groups: tap
media: Ethernet autoselect
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

tap3: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 58:9c:fc:10:ff:c7
groups: tap
media: Ethernet autoselect
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

root@marietto:/usr/home/marietto # cbsd jls

JNAME   JID  IP4_ADDR     HOST_HOSTNAME     PATH                               STATUS
buster  0    192.168.1.2  buster.my.domain  /usr/jails/jails-data/buster-data  Off       

ci_gw4 = 192.168.2.1
network/config nic1 nic address = 192.168.2.2/24

root@marietto:/usr/home/marietto # cbsd jstart

List of offline jail
0 .. CANCEL
a .. buster on local

Check environment script: 00.check_distribution.sh                             
populate jails data from: /usr/jails/share/jail-debian-buster-rootfs ...
Applying custom skel dir template from: /usr/jails/share/jail-debian-buster-rootfs
create epair: epair1:em0
Default NIC automatically selected: em0
set resource limit: [ ]
jail renice: 1
Starting jail: buster, parallel timeout=5
buster: created
eth0
warning: no such /etc/rc.conf: , skip for config ifconfig_eth0
late_start in progress...
jstart done in 8 seconds 

root@buster:/# ifconfig                                                         
bash: ifconfig: command not found

root@buster:/# route add default 192.168.2.1
bash: route: command not found
 
Back
Top