[Users] ubuntu precreated template problem

Scott Dowdle dowdle at montanalinux.org
Thu Feb 5 17:46:46 EST 2009


Dan,

----- "dan" <dantrevino at gmail.com> wrote:

> I'm having problems with the precreated 8.04-x86 template.
> 
> After setting the normal ipaddress/hostname/gateway settings and
> starting the template, I get no networking.  The CentOS template
> works
> fine, so its not my networking setup.  If I modify the
> /etc/network/interfaces file to be like a typical system, networking
> will restart without error, but I cannot access the network still.
> 
> The host node is Ubuntu 8.04.
> 
> Ideas? Suggestions?
> dan
> 
> 
> ======================================
> root at www:/# /etc/init.d/networking restart
>  * Reconfiguring network interfaces...
> /etc/network/interfaces:14: interface lo declared allow-auto twice
> ifdown: couldn't read interfaces file "/etc/network/interfaces"
> /etc/network/interfaces:14: interface lo declared allow-auto twice
> ifup: couldn't read interfaces file "/etc/network/interfaces"
>                                                       [fail]
> 
> ======================================
> root at www:/# cat /etc/network/interfaces
> # This configuration file is auto-generated.
> # WARNING: Do not edit this file, otherwise your changes will be
> lost.
> # Please edit template /etc/network/interfaces.template instead.
> 
> 
> auto lo
> iface lo inet loopback
> 	address 127.0.0.1
> 	netmask 255.0.0.0
> 	broadcast 127.255.255.255
> 	up ip route replace 127.0.0.0/8 dev lo
> 
> # Auto generated interfaces
> auto lo
> iface lo inet loopback
> 
> auto venet0
> iface venet0 inet static
> 	address 127.0.0.1
> 	netmask 255.255.255.255
> 	broadcast 0.0.0.0
> 	up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
> 	up route add default gw 192.0.2.1
> auto venet0:0
> iface venet0:0 inet static
> 	address 192.168.1.237
> 	netmask 255.255.255.255
> 	broadcast 0.0.0.0
> =========================================
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users

Thanks for asking.  I created a bug report for that and one other bug I found that seems to affect all of the official Debian and Ubuntu OS Templates.  The bug yum mention was discovered during the beta period and fixed... but somehow it found its way back.

I appreciate the Proxmox guys helping out but we all know the better solution is to get the OpenVZ official OS Templates fixed so users won't have to ramble their way to alternative OS Templates from other projects.

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]


More information about the Users mailing list