Boot on eth0
authorThomas Pérennou (Viveris Technologie) <thomas.perennou@external.thalesgroup.com>
Wed, 25 Feb 2015 17:13:53 +0000 (18:13 +0100)
committerThomas Pérennou (Viveris Technologie) <thomas.perennou@external.thalesgroup.com>
Wed, 25 Feb 2015 17:27:09 +0000 (18:27 +0100)
master/etc/initramfs-tools/scripts/tftp
master/opt/bios/bios-3.0.cfg
master/opt/bios/bios-3.10.cfg
master/opt/bios/bios-3.11.cfg

index 4e6caa0a850d67ab9fcbaa2c99da79f1c429edd2..6847ffb561cc3b024e0540773eac089f2d1308c4 100644 (file)
@@ -2,10 +2,8 @@
 
 mountroot ()
 {
 
 mountroot ()
 {
-
     # configure ethernet
     ipconfig -c dhcp eth0
     # configure ethernet
     ipconfig -c dhcp eth0
-    ipconfig -c dhcp eth1
 
     mount -t ramfs /dev/ram0 ${rootmnt}
 
 
     mount -t ramfs /dev/ram0 ${rootmnt}
 
@@ -13,10 +11,10 @@ mountroot ()
     for f in $(echo ${tarballs} | sed 's/,/ /g'); do
         log_begin_msg "download $f"
         tftp -b 32764 -g -r $f ${tftpserver}
     for f in $(echo ${tarballs} | sed 's/,/ /g'); do
         log_begin_msg "download $f"
         tftp -b 32764 -g -r $f ${tftpserver}
-       log_begin_msg "Extract $f into ${rootmnt}"
-       log_end_msg
-       tar xzf $f -C ${rootmnt} || exec /bin/sh
-       rm -f $f
+        log_begin_msg "Extract $f into ${rootmnt}"
+        log_end_msg
+        tar xzf $f -C ${rootmnt} || exec /bin/sh
+        rm -f $f
     done
 
     # remove files predeced by tilde
     done
 
     # remove files predeced by tilde
index bdf228a2f8c103297854bd5a9092a5477a07da01..73198e30e69b0f22783666d4fe579a6a7f95b808 100644 (file)
@@ -3022,8 +3022,8 @@ Token     =179    // Do NOT change this line
 Offset =1EA
 Width  =01
 BIOS Default   =[01]Enabled
 Offset =1EA
 Width  =01
 BIOS Default   =[01]Enabled
-Options        =*[00]Disabled  // Move "*" to the desired Option
-         [01]Enabled
+Options        =[00]Disabled   // Move "*" to the desired Option
+         *[01]Enabled
 
 Setup Question = Load Onboard LAN 2 Option ROM
 Token  =17A    // Do NOT change this line
 
 Setup Question = Load Onboard LAN 2 Option ROM
 Token  =17A    // Do NOT change this line
index 79480a1b110a17def7748df25f0bc1daaa52d6d0..6c7cdb60e9a1808bb8685ed1018d1425058a7c8f 100644 (file)
@@ -3095,8 +3095,8 @@ Token     =17E    // Do NOT change this line
 Offset =1F0
 Width  =01
 BIOS Default   =[01]Enabled
 Offset =1F0
 Width  =01
 BIOS Default   =[01]Enabled
-Options        =*[00]Disabled  // Move "*" to the desired Option
-         [01]Enabled
+Options        =[00]Disabled   // Move "*" to the desired Option
+         *[01]Enabled
 
 Setup Question = Load Onboard LAN 2 Option ROM
 Token  =17F    // Do NOT change this line
 
 Setup Question = Load Onboard LAN 2 Option ROM
 Token  =17F    // Do NOT change this line
index c04751eceee8385f3e3f19a451dc96aa5632be90..560114b33fd27cf504afc3a57cb2803480267181 100644 (file)
@@ -3850,8 +3850,8 @@ Token     =1D7    // Do NOT change this line
 Offset =21F
 Width  =01
 BIOS Default   =[01]Enabled
 Offset =21F
 Width  =01
 BIOS Default   =[01]Enabled
-Options        =[00]Disabled   // Move "*" to the desired Option
-         *[01]Enabled
+Options        =*[00]Disabled  // Move "*" to the desired Option
+         [01]Enabled
 
 Setup Question = Load Onboard LAN 2 Option ROM
 Token  =1D8    // Do NOT change this line
 
 Setup Question = Load Onboard LAN 2 Option ROM
 Token  =1D8    // Do NOT change this line