Create Response file
pkgask -d GIibglrm_1.0.0_b15.pkg -r /var/tmp/pkg/my.rsp
cat admin
mail=
instance=overwrite
partial=nocheck
runlevel=nocheck
idepend=nocheck
rdepend=nocheck
space=nocheck
setuid=nocheck
conflict=nocheck
action=nocheck
networktimeout=60
networkretries=3
authentication=quit
keystore=/var/sadm/security
proxy=
basedir=default
bash-3.00# cat my.rsp
LRM_ENV_NAME=sit1
LRM_APPS_HOME=/apps/lrm
BASEDIR=/apps/lrm
LRM_DATA_HOME=/apps/lrm/var/data
LRM_LOG_HOME=/apps/lrm/var/log
LRM_ARCHIVE_HOME=/apps/lrm/var/archive
LRM_DATA_STAGING=/apps/lrm/var/staging
LRM_USER=root
GROUP=root
export LRM_ENV_NAME
export LRM_APPS_HOME
export LRM_DATA_HOME
export LRM_LOG_HOME
export LRM_ARCHIVE_HOME
export LRM_DATA_STAGING
export LRM_USER
export GROUP
Install using response file
pkgadd -n -a admin -r response.rsp -d GIibglrm_1.0.0_b15.pkg
Change Root
pkgadd -n -a admin -r response.rsp -d GIibglrm_1.0.0_b15.pkg -R /apps/lrm1
No comments:
Post a Comment