Hey, Aleksandar Ivanisevic schrieb: > > Is there a more elegant way of finding the host name or anything about > the host node from inside the container than scripting something in > /etc/vz/conf/vps.mount ?
if you are only searching for the hostname you could use cat /proc/sys/kernel/virt_osrelease | sed "s,openvz,$(uname -n),g" >/proc/sys/kernel/virt_osrelease and cat /proc/sys/kernel/virt_osrelease at the CT side. cheers flip _______________________________________________ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users