Nethserver install on Proxmox

I’m trying to install Nethserve on a Centos 6.6 container in a proxmox host.

These are the steps:

Set network on bridge (vmrb0)

ssh in proxmox host
vzctl start 103 (ct ID)
vzctl enter 103

cat > /etc/sysconfig/network-scripts/ifcfg-eth0 <<DELIM
DEVICE=eth0
BOOTPROTO=none
DEVICE=eth0
GATEWAY=192.168.1.20
IPADDR=192.168.1.17
NETMASK=255.255.255.0
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
DELIM

/etc/init.d/network restart

yum install yum-utils
yum-complete-transaction
yum update

yum install lokkit

ln -sf /usr/share/zoneinfo/Europe/Rome /etc/localtime

yum localinstall -y http://mirror.nethserver.org/nethserver/nethserver-release-6.6.rpm

rpm --import /etc/pki/rpm-gpg/*
yum --disablerepo=* --enablerepo=nethserver-base,nethserver-updates,centos-base,centos-updates install @nethserver-iso

vim /etc/e-smith/events/actions/nethserver-base-initialize-db

commented line 86 and 95 (clock not present in /etc/sysconfig/clock)
added a line:
system("$DB configuration set TimeZone Europe/Rome");

/sbin/e-smith/signal-event system-init

and this is the log (var/log/messages)

http://pastebin.com/dYyUzuuB

any help ?

Thanks

Forget ABOUT OPENVZ ! Use QEMU , coz it is trying to setup their own kernel and initram so U could not have Success !

Please Franco, can you edit your post and cut the log using pastebin? So you can paste here just the link :wink:
Thanks

I don’t have currently a proxmox to reproduce your problem maybe @giacomo or @davidep could help

  • at line 147 there’s a copy error. Probably /etc/localtime is a symlink. You can safely replace it with /usr/share/zoneinfo/Europe/Rome.
  • at line 285 and similar /etc/hosts fail to expand. I don’t know if it is really a problem. What are the contents of /etc/hosts? I can’t guess what template fragment is failing here…

Anyway it seems there are no big issues. @frankar is there any other issue?

Does it replace Kernel during the installation ? If Yes so it could not be installed in OpenVZ!

AFAIK nethserver-install command does not update kernel packages.

i could try it !

I moved 2 posts to a new topic: HowTo install NethServer on ProxMox OpenVZ container

I moved a post to an existing topic: HowTo install NethServer on ProxMox OpenVZ container