Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170705

Installing Centos 6 template

$
0
0
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.

Viewing all articles
Browse latest Browse all 170705

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>