Installing Centos 6 template

alexdimarco

Member
Apr 28, 2010
17
0
21
Hi All

Ran into an interesting issue...

Created a CT with the centos-6-standard_6.3-1_amd64.tar.gz

Added the fix for the console from the proxmox main server (vzctl enter 100)

echo -e "# This service maintains a getty on tty1 from the point the system is\n# started until it is shut down again.\nstart on stopped rc RUNLEVEL=[2345]\nstop on runlevel [!2345]\nrespawn\nexec /sbin/agetty -8 tty1 38400" > /etc/init/tty.conf

rebooted... console came up fine, but no networking...

noticed the following was missing... /etc/sysconfig/network-scripts/ifcfg-eth0

created it with the following
DEVICE=eth0

BOOTPROTO=none

ONBOOT=yes

TYPE=Ethernet

USERCTL=no

IPV6INIT=no

PEERDNS=yes

NETMASK=255.255.255.0

IPADDR=X.X.X.X

GATEWAY=X.X.X.X

(add own network info)


Removed /etc/udev/rules.d/70-persistent-net.rules

Rebooted and it came up...

Interesting in case someone else runs into this...

Cheers

A.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!