| Last change
                  on this file since 641 was
                  641,
                  checked in by ecprice, 17 years ago | 
        
          | 
Getting towards the autoinstaller in domU.
 
Works with etch, almost works with Hardy but has network trouble.
 | 
        | File size:
            1.2 KB | 
      
      
        
  | Rev | Line |  | 
|---|
| [641] | 1 | --- /usr/sbin/update-grub.orig  2008-05-03 23:30:37.000000000 -0400 | 
|---|
|  | 2 | +++ /usr/sbin/update-grub       2008-05-03 23:30:55.000000000 -0400 | 
|---|
|  | 3 | @@ -911,13 +911,6 @@ | 
|---|
|  | 4 | is_xen= | 
|---|
|  | 5 | fi | 
|---|
|  | 6 |  | 
|---|
|  | 7 | -       if [ ! "$in_domU" ] && [ "$is_xen" ]; then | 
|---|
|  | 8 | -         # skip xen kernels | 
|---|
|  | 9 | -          continue | 
|---|
|  | 10 | -        elif [ "$in_domU" ] && ! [ "$is_xen" ]; then | 
|---|
|  | 11 | -         # skip non-xen kernels | 
|---|
|  | 12 | -         continue | 
|---|
|  | 13 | -        fi | 
|---|
|  | 14 | kern="/boot/$kern" | 
|---|
|  | 15 | newerKernels="" | 
|---|
|  | 16 | for i in $sortedKernels ; do | 
|---|
|  | 17 | --- /boot/grub/menu.lst.orig    2008-05-04 03:17:31.000000000 -0400 | 
|---|
|  | 18 | +++ /boot/grub/menu.lst 2008-05-04 03:19:09.000000000 -0400 | 
|---|
|  | 19 | @@ -59,7 +59,7 @@ | 
|---|
|  | 20 | ## e.g. kopt=root=/dev/hda1 ro | 
|---|
|  | 21 | ##      kopt_2_6_8=root=/dev/hdc1 ro | 
|---|
|  | 22 | ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro | 
|---|
|  | 23 | -# kopt=root=/dev/hda1 ro | 
|---|
|  | 24 | +# kopt=root=/dev/hda1 ro console=ttyS0,9600,8n1 | 
|---|
|  | 25 |  | 
|---|
|  | 26 | ## default grub root device | 
|---|
|  | 27 | ## e.g. groot=(hd0,0) | 
|---|
|  | 28 | --- /etc/network/interfaces~       2008-06-22 06:47:55.000000000 -0400 | 
|---|
|  | 29 | +++ /etc/network/interfaces        2008-06-22 06:49:21.000000000 -0400 | 
|---|
|  | 30 | @@ -8,7 +8,7 @@ | 
|---|
|  | 31 | # The primary network interface | 
|---|
|  | 32 | auto eth0 | 
|---|
|  | 33 | iface eth0 inet dhcp | 
|---|
|  | 34 | -# post-up ethtool -K eth0 tx off | 
|---|
|  | 35 | + pre-up ethtool -K eth0 tx off | 
|---|
|  | 36 |  | 
|---|
|  | 37 | # | 
|---|
|  | 38 | # The commented out line above will disable TCP checksumming which | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.