Yes, Dietmar, I realise that without the
conf file bundled into the
tar.gz, the file cannot be used for a vzrestore. I wanted to check out if it were present.
www.blueonyx.it and
www.blueonyx.nl seem to have begun blocking IP addresses from India ever since OpenBQBO OpenSource packages were being released in competition with commercial interests. During the install a licensing RPM was being
trickled into the system, viz.,
Code:
solarspeed-ioncube-3.1.32-2008AV06.i386.rpm | 2.4 MB
I finally managed to get it running after using
Lucas Peyatt's advice an earlier post here. This is also a workaround for the
issue of GATEWAYDEV listed in an earlier post.
This specific template has a lot of IPTABLES rules in it that interferes with the crons on the host cutting off internet connectivity to the guest every 1 minute needing a
service iptables restart in the guest from time to time.
The only changes were:
1. The template file:
Code:
blueonyx-5106R-i386-RRT10132010.tar.gz
was renamed to be:
Code:
blueonyx-5.0-bo_5106R.RRT10132010-1_i386.tar.gz
2. A new file was created as:
/etc/vz/dists/blueonyx.conf having:
Code:
ADD_IP=blueonyx-add_ip.sh
DEL_IP=redhat-del_ip.sh
SET_HOSTNAME=redhat-set_hostname.sh
SET_DNS=set_dns.sh
SET_USERPASS=set_userpass.sh
SET_UGID_QUOTA=set_ugid_quota.sh
POST_CREATE=postcreate.sh
The current version (ProxMox VE 1.7) of the
redhat-del_ip.sh file is identical to the
sauce-del_ip.sh provided by Lucas Peyatt. His
sauce-add_ip.sh has been uploaded as
/etc/vz/dists/scripts/blueonyx-add_ip.sh with some cosmetic mods to reflect the current version of
redhat-add_ip.sh so that a patch file if made will be small. His
functionsnew.txt has been appended to the file
/etc/vz/dists/scripts/functions , the appended contents being:
Code:
function remove_fake_old_route()
{
local file="$1"
[ -f "${file}" ] || return 0
if ! grep -qE '191.255.255.[0-1]' $file; then
return 0
fi
sed '/191.255.255.[0-1]/d' < ${file} > ${file}.$$ &&
mv -f ${file}.$$ ${file}
rm -f ${file}.$$ 2>/dev/null
}
The file
blueonyx-add_ip.sh is zipped and attached herewith.
View attachment blueonyx-add_ip.zip
yum install screen was done and the
yum update was done from within it while another SSH screen was used to keep restarting the IPTABLES.