[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sisuite-users
Subject:    Re: [Sisuite-users] Removing requirement to ping imageserver
From:       dann frazier <dannf () dannf ! org>
Date:       2003-08-28 6:49:08
[Download RAW message or body]

On Tue, Aug 26, 2003 at 07:26:50PM +0100, Dan wrote:
> Having a slight suspicion that shouting at them won't help the situation (and
> expecting the decision not to be reversed) I would be very grateful for a
> pointer on how to modify the installation CD in order to remove the requirement
> to ping the image server prior to installation (if this is possible).

actually... it would make sense to me if the client code just went ahead
and tried the install, even if the ping failed.  the reason we added
the ping was to make some switches aware of our existance, iirc.

i just committed this patch - Brian: feel free to revert if you
disagree.

--- functions	19 Aug 2003 22:23:25 -0000	1.32
+++ functions	28 Aug 2003 06:43:17 -0000
@@ -658,11 +658,10 @@ ping_test() {
         ping -c 1 $IMAGESERVER; PING_EXIT_STATUS=$?; PING_COUNT=$(( $PING_COUNT + 1 ))
         if [ "$PING_COUNT" = "21" ]; then
             echo
-            echo "  FATAL:  Cannot ping the image server \"$IMAGESERVER\""
-            echo "          Be sure that your networking equipment is"
-            echo "          working properly!"
+            echo "  WARNING:  Cannot ping the image server \"$IMAGESERVER\""
+            echo "            Be sure that your networking equipment is"
+            echo "            working properly!"
             echo
-            shellout
         fi
     done
 

Dan: anyway, this code is in /etc/init.d/functions, in the
initrd.img file.  you need to crack it open, copy the contents elsewhere, 
make your change & regen a new initrd.img.

something like this:

cd /usr/share/systemimager/boot/i386/standard
cp initrd.img initrd.img.bak
gunzip < initrd.img > initrd
mkdir /mnt/tmp
mount initrd /mnt/tmp -o loop
mkdir /tmp/initrd
cp -a /mnt/tmp/* /tmp/initrd
cd /tmp/initrd
<make your changes in this tree>
mkinitrd /tmp/initrd /tmp/initrd.img
cd -
mv /tmp/initrd.img .




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Sisuite-users mailing list
Sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic