[owl-users] Owl OpenVZ template - strange network configuration

From: <gremlin_at_private>
Date: Mon, 4 Jun 2012 13:04:05 +0400
I normally use my own package for init scripts, so... my apologies for
late discovery.

root_at_vzhost01:~ # vzctl create 1000 --ostemplate owl-current-20120508-x86_64 --ipadd --hostname ovz-test.lan
Creating container private area (owl-current-20120508-x86_64)
Performing postcreate actions
Container private area was created

root_at_vzhost01:~ # vzctl start 1000
Starting container ...
Container is mounted
Adding IP address(es):
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: ovz-test.lan
Container start in progress...

root_at_vzhost01:~ # vzctl enter 1000                                              
entered into CT 1000

root_at_ovz-test:/ # ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet brd scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: gre0: <NOARP> mtu 1476 qdisc noop state DOWN 
    link/gre brd
3: ip6tnl0: <NOARP> mtu 1460 qdisc noop state DOWN 
    link/tunnel6 :: brd ::
4: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN 
    inet scope host venet0
    inet scope global venet0:0

For me it seems to be an ugly bug... And even worse, it looks like
our init scripts still use /* several kilobytes of curses skipped */
`ifconfig` instead of `ip` for configuring network devices.

Alexey V. Vissarionov aka Gremlin from Kremlin
<gremlin  gremlin  ru>
GPG key ID: 0xEF3B1FA8, keyserver: hkp://subkeys.pgp.net
GPG key fingerprint: 8832 FE9F A791 F796 8AC9 6E4E 909D AC45 EF3B 1FA8

Received on Mon Jun 04 2012 - 02:04:05 PDT

This archive was generated by hypermail 2.2.0 : Mon Jun 04 2012 - 02:04:42 PDT