# HG changeset patch # User Eric Joseph-Alexandre # Date 1320135661 -3600 # Node ID fb08988f020c5addb53c51459af15fe0376e14b6 Add scripts fro OpenVZ, proxmox diff -r 000000000000 -r fb08988f020c vz-scripts/openvz/slitaz-add_ip.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vz-scripts/openvz/slitaz-add_ip.sh Tue Nov 01 09:21:01 2011 +0100 @@ -0,0 +1,46 @@ +#!/bin/bash +# Adds IP address(es) in a container running Slitaz. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Copyright (C) 2011 Eric Joseph-Alexandre +# + +VENET_DEV=venet0 +CFGFILE=/etc/network.conf + +function add_ip() +{ + if ! grep -q venet0 ${CFGFILE}; then + sed -i "s/^INTERFACE.*/INTERFACE=\"${VENET_DEV}\"/" ${CFGFILE} + fi + + if [ ! -z ${IP_ADDR} ]; then + sed -i 's/DHCP=.*/DHCP="no"/' ${CFGFILE} + sed -i 's/STATIC=.*/STATIC="yes"/' ${CFGFILE} + sed -i -e "s/IP=".*"/IP=\"${IP_ADDR}\"/" ${CFGFILE} + sed -i -e "s/NETMASK=".*"/NETMASK=\"255.255.255.255\"/" ${CFGFILE} + fi + + # Starting the network + /etc/init.d/network.sh + + # Add default route + /sbin/route add default ${VENET_DEV} +} + +add_ip + +exit 0 diff -r 000000000000 -r fb08988f020c vz-scripts/openvz/slitaz-del_ip.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vz-scripts/openvz/slitaz-del_ip.sh Tue Nov 01 09:21:01 2011 +0100 @@ -0,0 +1,39 @@ +#!/bin/bash +# Deletes IP address from a container running SliTaz distro. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Copyright (C) 2011 Eric Joseph-Alexandre + + +VENET_DEV=venet0 +CFGFILE=/etc/network.conf + +# Function to delete IP address +function del_ip() +{ + if grep -q ${IP_ADDR} ${CFGFILE}; then + sed -i 's/^IP.*/IP=\"0\"/' ${CFGFILE} + fi + + # Shutting down $VENET_DEV if CT is running. + if [ "$VE_STATE" = "running" ]; then + /sbin/ifconfig ${VENET_DEV} down + fi +} + +del_ip + +exit 0 diff -r 000000000000 -r fb08988f020c vz-scripts/openvz/slitaz-set_hostname.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vz-scripts/openvz/slitaz-set_hostname.sh Tue Nov 01 09:21:01 2011 +0100 @@ -0,0 +1,39 @@ +#!/bin/bash +# Copyright (C) 2000-2009, Parallels, Inc. All rights reserved. +# Copyright (C) 2011 Eric Joseph-Alexandre +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# +# Sets up hostname in a container running slitaz-like distro. + +function set_hostname() +{ + local cfgfile="$1" + local hostname=$2 + + [ -z "${hostname}" ] && return 0 + + hostname=${hostname%%.*} + + echo "${hostname}" > ${cfgfile} + + hostname ${hostname} +} + +change_hostname /etc/hosts "${HOSTNM}" "${IP_ADDR}" +set_hostname /etc/hostname "${HOSTNM}" + +exit 0 diff -r 000000000000 -r fb08988f020c vz-scripts/proxmox-ovh/slitaz-add_ip.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vz-scripts/proxmox-ovh/slitaz-add_ip.sh Tue Nov 01 09:21:01 2011 +0100 @@ -0,0 +1,80 @@ +#!/bin/bash +# Adds IP address(es) in a container running Slitaz. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Copyright (C) 2011 Eric Joseph-Alexandre +# + +VENET_DEV=venet0 +CFGFILE=/etc/network.conf +HOSTFILE=/etc/hosts +CFG_DIR=/etc/network +CFG_DEV_FILE=${CFG_DIR}/ifconfig-${VENET_DEV} + +function setup_network() +{ + # Set up /etc/hosts + if [ ! -f ${HOSTFILE} ]; then + echo "127.0.0.1 localhost.localdomain localhost" > $HOSTFILE + echo "${IP_ADDR} localhost.localdomain localhost" >> $HOSTFILE + fi + + # Make config directory + [ -d $CFG_DIR ] || mkdir -p $CFG_DIR + + # Set default venet0 for rc.network + echo "ONBOOT=yes" > ${CFG_DEV_FILE}:0 + echo "MODE=static" >> ${CFG_DEV_FILE}:0 + echo "IP=127.0.0.1" >> ${CFG_DEV_FILE}:0 + echo "NETMASK=255.255.255.255" >> ${CFG_DEV_FILE}:0 + echo "BROADCAST=0.0.0.0" >> ${CFG_DEV_FILE}:0 +} + +function add_ip() +{ + # In case we are starting CT + if [ "x${VE_STATE}" = "xstarting" ]; then + setup_network + fi + if ! grep -q venet0 ${CFGFILE}; then + sed -i "s/^INTERFACE.*/INTERFACE=\"${VENET_DEV}\"/" ${CFGFILE} + fi + + # Set default venet0 config + sed -i 's/DHCP=.*/DHCP="no"/' ${CFGFILE} + sed -i 's/STATIC=.*/STATIC="yes"/' ${CFGFILE} + sed -i -e "s/IP=".*"/IP=\"127.0.0.1\"/" ${CFGFILE} + sed -i -e "s/NETMASK=".*"/NETMASK=\"255.255.255.255\"/" ${CFGFILE} + + # Set config IP for venet0 alias. + if [ ! -z ${IP_ADDR} ]; then + echo "ONBOOT=yes" > ${CFG_DEV_FILE}:0 + echo "MODE=static" >> ${CFG_DEV_FILE}:0 + echo "IP=${IP_ADDR}" >> ${CFG_DEV_FILE}:0 + echo "NETMASK=255.255.255.255" >> ${CFG_DEV_FILE}:0 + echo "BROADCAST=${IP_ADDR}" >> ${CFG_DEV_FILE}:0 + fi + + # Starting the network + /etc/init.d/rc.network + + # Add default route + /sbin/route add default ${VENET_DEV} +} + +add_ip + +exit 0 diff -r 000000000000 -r fb08988f020c vz-scripts/proxmox-ovh/slitaz-del_ip.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vz-scripts/proxmox-ovh/slitaz-del_ip.sh Tue Nov 01 09:21:01 2011 +0100 @@ -0,0 +1,39 @@ +#!/bin/bash +# Deletes IP address from a container running SliTaz distro. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Copyright (C) 2011 Eric Joseph-Alexandre + + +VENET_DEV=venet0 +CFGFILE=/etc/network.conf + +# Function to delete IP address +function del_ip() +{ + if grep -q ${IP_ADDR} ${CFGFILE}; then + sed -i 's/^IP.*/IP=\"0\"/' ${CFGFILE} + fi + + # Shutting down $VENET_DEV if CT is running. + if [ "$VE_STATE" = "running" ]; then + /sbin/ifconfig ${VENET_DEV} down + fi +} + +del_ip + +exit 0 diff -r 000000000000 -r fb08988f020c vz-scripts/proxmox-ovh/slitaz-set_dns.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vz-scripts/proxmox-ovh/slitaz-set_dns.sh Tue Nov 01 09:21:01 2011 +0100 @@ -0,0 +1,48 @@ +#!/bin/sh +# Copyright (C) 2000-2011, Parallels, Inc. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# +# Sets up resolver (/etc/resolv.conf) in a container. + +set_dns() +{ + local cfgfile="$1" + local server="$2" + local search="$3" + local srv + + [ -f $cfgfile ] || touch $cfgfile + + if [ -n "${search}" ]; then + put_param2 "${cfgfile}" search "${search}" + fi + if [ -n "${server}" ]; then + [ -f ${cfgfile} ] || touch ${cfgfile} + grep -v '^\s*nameserver\s' ${cfgfile} > ${cfgfile}.$$ && + mv -f ${cfgfile}.$$ ${cfgfile} || + error "Can't change file ${cfgfile}" ${VZ_FS_NO_DISK_SPACE} + for srv in ${server}; do + echo "nameserver ${srv}" >> ${cfgfile} + done + fi + chmod 644 ${cfgfile} +} + + +set_dns /etc/resolv.conf "${NAMESERVER}" "${SEARCHDOMAIN}" + +exit 0 diff -r 000000000000 -r fb08988f020c vz-scripts/proxmox-ovh/slitaz-set_hostname.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vz-scripts/proxmox-ovh/slitaz-set_hostname.sh Tue Nov 01 09:21:01 2011 +0100 @@ -0,0 +1,39 @@ +#!/bin/bash +# Copyright (C) 2000-2009, Parallels, Inc. All rights reserved. +# Copyright (C) 2011 Eric Joseph-Alexandre +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# +# Sets up hostname in a container running slitaz-like distro. + +function set_hostname() +{ + local cfgfile="$1" + local hostname=$2 + + [ -z "${hostname}" ] && return 0 + + hostname=${hostname%%.*} + + echo "${hostname}" > ${cfgfile} + + hostname ${hostname} +} + +change_hostname /etc/hosts "${HOSTNM}" "${IP_ADDR}" +set_hostname /etc/hostname "${HOSTNM}" + +exit 0 diff -r 000000000000 -r fb08988f020c vz-scripts/proxmox-ovh/slitaz.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vz-scripts/proxmox-ovh/slitaz.conf Tue Nov 01 09:21:01 2011 +0100 @@ -0,0 +1,27 @@ +# Copyright (C) 2000-2008, Parallels, Inc. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# This configuration file is meant to be used with +# the Redhat, RHEL, CentOS distribution kit. +# + +ADD_IP=slitaz-add_ip.sh +DEL_IP=slitaz-del_ip.sh +SET_HOSTNAME=slitaz-set_hostname.sh +SET_DNS=set_dns.sh +SET_USERPASS=set_userpass.sh +#SET_UGID_QUOTA=set_ugid_quota.sh +POST_CREATE=postcreate.sh diff -r 000000000000 -r fb08988f020c vz-scripts/proxmox/slitaz-add_ip.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vz-scripts/proxmox/slitaz-add_ip.sh Tue Nov 01 09:21:01 2011 +0100 @@ -0,0 +1,80 @@ +#!/bin/bash +# Adds IP address(es) in a container running Slitaz. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Copyright (C) 2011 Eric Joseph-Alexandre +# + +VENET_DEV=venet0 +CFGFILE=/etc/network.conf +HOSTFILE=/etc/hosts +CFG_DIR=/etc/network +CFG_DEV_FILE=${CFG_DIR}/ifconfig-${VENET_DEV} + +function setup_network() +{ + # Set up /etc/hosts + if [ ! -f ${HOSTFILE} ]; then + echo "127.0.0.1 localhost.localdomain localhost" > $HOSTFILE + echo "${IP_ADDR} localhost.localdomain localhost" >> $HOSTFILE + fi + + # Make config directory + [ -d $CFG_DIR ] || mkdir -p $CFG_DIR + + # Set default venet0 for rc.network + echo "ONBOOT=yes" > ${CFG_DEV_FILE}:0 + echo "MODE=static" >> ${CFG_DEV_FILE}:0 + echo "IP=127.0.0.1" >> ${CFG_DEV_FILE}:0 + echo "NETMASK=255.255.255.255" >> ${CFG_DEV_FILE}:0 + echo "BROADCAST=0.0.0.0" >> ${CFG_DEV_FILE}:0 +} + +function add_ip() +{ + # In case we are starting CT + if [ "x${VE_STATE}" = "xstarting" ]; then + setup_network + fi + if ! grep -q venet0 ${CFGFILE}; then + sed -i "s/^INTERFACE.*/INTERFACE=\"${VENET_DEV}\"/" ${CFGFILE} + fi + + # Set default venet0 config + sed -i 's/DHCP=.*/DHCP="no"/' ${CFGFILE} + sed -i 's/STATIC=.*/STATIC="yes"/' ${CFGFILE} + sed -i -e "s/IP=".*"/IP=\"127.0.0.1\"/" ${CFGFILE} + sed -i -e "s/NETMASK=".*"/NETMASK=\"255.255.255.255\"/" ${CFGFILE} + + # Set config IP for venet0 alias. + if [ ! -z ${IP_ADDR} ]; then + echo "ONBOOT=yes" > ${CFG_DEV_FILE}:0 + echo "MODE=static" >> ${CFG_DEV_FILE}:0 + echo "IP=${IP_ADDR}" >> ${CFG_DEV_FILE}:0 + echo "NETMASK=255.255.255.255" >> ${CFG_DEV_FILE}:0 + echo "BROADCAST=${IP_ADDR}" >> ${CFG_DEV_FILE}:0 + fi + + # Starting the network + /etc/init.d/rc.network + + # Add default route + /sbin/route add default ${VENET_DEV} +} + +add_ip + +exit 0 diff -r 000000000000 -r fb08988f020c vz-scripts/proxmox/slitaz-del_ip.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vz-scripts/proxmox/slitaz-del_ip.sh Tue Nov 01 09:21:01 2011 +0100 @@ -0,0 +1,39 @@ +#!/bin/bash +# Deletes IP address from a container running SliTaz distro. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Copyright (C) 2011 Eric Joseph-Alexandre + + +VENET_DEV=venet0 +CFGFILE=/etc/network.conf + +# Function to delete IP address +function del_ip() +{ + if grep -q ${IP_ADDR} ${CFGFILE}; then + sed -i 's/^IP.*/IP=\"0\"/' ${CFGFILE} + fi + + # Shutting down $VENET_DEV if CT is running. + if [ "$VE_STATE" = "running" ]; then + /sbin/ifconfig ${VENET_DEV} down + fi +} + +del_ip + +exit 0 diff -r 000000000000 -r fb08988f020c vz-scripts/proxmox/slitaz-set_dns.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vz-scripts/proxmox/slitaz-set_dns.sh Tue Nov 01 09:21:01 2011 +0100 @@ -0,0 +1,48 @@ +#!/bin/sh +# Copyright (C) 2000-2011, Parallels, Inc. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# +# Sets up resolver (/etc/resolv.conf) in a container. + +set_dns() +{ + local cfgfile="$1" + local server="$2" + local search="$3" + local srv + + [ -f $cfgfile ] || touch $cfgfile + + if [ -n "${search}" ]; then + put_param2 "${cfgfile}" search "${search}" + fi + if [ -n "${server}" ]; then + [ -f ${cfgfile} ] || touch ${cfgfile} + grep -v '^\s*nameserver\s' ${cfgfile} > ${cfgfile}.$$ && + mv -f ${cfgfile}.$$ ${cfgfile} || + error "Can't change file ${cfgfile}" ${VZ_FS_NO_DISK_SPACE} + for srv in ${server}; do + echo "nameserver ${srv}" >> ${cfgfile} + done + fi + chmod 644 ${cfgfile} +} + + +set_dns /etc/resolv.conf "${NAMESERVER}" "${SEARCHDOMAIN}" + +exit 0 diff -r 000000000000 -r fb08988f020c vz-scripts/proxmox/slitaz-set_hostname.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vz-scripts/proxmox/slitaz-set_hostname.sh Tue Nov 01 09:21:01 2011 +0100 @@ -0,0 +1,39 @@ +#!/bin/bash +# Copyright (C) 2000-2009, Parallels, Inc. All rights reserved. +# Copyright (C) 2011 Eric Joseph-Alexandre +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# +# Sets up hostname in a container running slitaz-like distro. + +function set_hostname() +{ + local cfgfile="$1" + local hostname=$2 + + [ -z "${hostname}" ] && return 0 + + hostname=${hostname%%.*} + + echo "${hostname}" > ${cfgfile} + + hostname ${hostname} +} + +change_hostname /etc/hosts "${HOSTNM}" "${IP_ADDR}" +set_hostname /etc/hostname "${HOSTNM}" + +exit 0 diff -r 000000000000 -r fb08988f020c vz-scripts/proxmox/slitaz.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vz-scripts/proxmox/slitaz.conf Tue Nov 01 09:21:01 2011 +0100 @@ -0,0 +1,27 @@ +# Copyright (C) 2000-2008, Parallels, Inc. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# This configuration file is meant to be used with +# the Redhat, RHEL, CentOS distribution kit. +# + +ADD_IP=slitaz-add_ip.sh +DEL_IP=slitaz-del_ip.sh +SET_HOSTNAME=slitaz-set_hostname.sh +SET_DNS=set_dns.sh +SET_USERPASS=set_userpass.sh +#SET_UGID_QUOTA=set_ugid_quota.sh +POST_CREATE=postcreate.sh