Also you can add a non interactive options for luveupgrad20 -noconsole 
-nodisplay and there is the new lux86menu_propagate: i.e:

#!/bin/ksh -x
AF=10u5_s3
MEDIA=/zones/install/10u5
TDEV=c1d0s3
BE=10_u5
lucreate -c 10u5 -m /:$TDEV:ufs -n $AF
$MEDIA/Solaris_10/Tools/Installers/liveupgrade20 -noconsole -nodisplay
# for snv builds and mayby 10u6 or higher you might need to run 
lux86menu_propagate:
if [ -f /usr/lib/lu/lux86menu_propagate ] ; then
   lux86menu_propagate: $MEDIA
fi
luupgrade -u -n $AF -s $MEDIA
luactivate $AF

I wish the sysadmin tools lucreate/luupgrade and the new pkg utility in 2008.05 
in both Solaris and OpenSolairis could by more forward and backwards compatible 
. this should be able to be done  with a little for thought since the bases of 
these utilities is manages variables wrappers around pkgadd and pkgrm that use 
cpio as the copy utility even though the pkg utility is a rewrite.
--
This message posted from opensolaris.org

Reply via email to