From a2f43228f6105005904373406da52ccaa5d8aa08 Mon Sep 17 00:00:00 2001 From: Andras Tantos Date: Sun, 21 Feb 2021 10:38:29 -0800 Subject: [PATCH] Updated install script. --- install | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/install b/install index 86446fb..a254c30 100755 --- a/install +++ b/install @@ -208,6 +208,7 @@ rcp $LOCAL_LOGIN@$SWSHOST:$SYS_CDROM/citmkfs.preload / || install_errorexit "Can rcp $LOCAL_LOGIN@$SWSHOST:$SYS_CDROM/citmntfs.preload / || install_errorexit "Can't get citmntfs.preload from host" . ./citmkfs.preload . ./citmntfs.preload +/etc/mkdmp /dev/dsk/dump if [[ ! -e $SYS_MNT/uex_11.gzc ]]; then echo "copying uex..." rcp $LOCAL_LOGIN@$SWSHOST:$SYS_CDROM/uex_11.gzc $SYS_MNT/ || install_errorexit "Can't get install media from host" @@ -288,17 +289,19 @@ cat < /rcoptions.patch > RC_NFS='YES' > RC_YP='NO' > RC_TAPE='NO' -126,127c126,127 +126,128c126,128 < USRDEV='usr' < SRCDEV='src' +< USRTMPDEV='usr_tmp' --- > USRDEV='' > SRCDEV='' +> USRTMPDEV='' EOT #131c131 -#< TMPDEV='' +#< TMPDEV='tmp' #--- -#> TMPDEV='tmp' +#> TMPDEV='' if [ ! -f $SYS_MNT/skl/etc/config/rcoptions.original ]; then cp $SYS_MNT/skl/etc/config/rcoptions $SYS_MNT/skl/etc/config/rcoptions.original else @@ -341,8 +344,15 @@ do_pstload echo "**** setting up networking in new environment ****" chmod 600 $SYS_MNT/etc/hosts || install_errorexit "failed" chroot $SYS_MNT /etc/mkbinhost || install_errorexit "failed" +cat < /etc/gated.conf || install_errorexit "failed" +static { + default gateway $ROUTER_IP +} +EOT +echo "en0 - inet $SYS_CRAYIP - netmask $SYS_NETMASK" >> /etc/config/interfaces || install_errorexit "failed" echo "done ..." + echo "**** making home folder ****" if [ ! -d "$SYS_MNT/home" ]; then mkdir $SYS_MNT/home || install_errorexit "mkdir $SYS_MNT/home failed"