Hi Sundar,

On 03/30/09 18:26, Sundar Yamunachari wrote:
> Jan,
>
> jan damborsky wrote:
>> There is a request from QE team as well as from users to allow
>> process of installation to be observed remotely. For LiveCD case,
>> this requirement was satisfied by fix for bug 6431 which introduced
>> support for new configuration parameter 'livessh'. Is set to 'enable',
>> ssh access is enabled to LiveCD environment.
>> The same feature should be available for Automated Installation.
>>
>> Also, there is a need to be able to run the Automated Installer
>> in debug verbose mode in cases when more information about
>> installation process is desired - for instance when there is
>> a failure to be evaluated or during testing.
>>
>> Based on this, there would be two parts to address those
>> requirements:
>>
>> [1] enable ssh for AI
>> ---------------------
>> The suggestion is to take advantage of 'livessh' option introduced
>> for LiveCD. If set to 'enable', AI would allow remote access
>> using ssh by running following commands during boot:
>>
>> * generate ssh keys
>> # /lib/svc/method/sshd -c
>>
>> * enable ssh SMF service
>> # /usr/sbin/svcadm enable network/ssh
>>
>> [2] Enable debug verbose mode for Automated Installer
>> -----------------------------------------------------
>> New option 'install_debug' would be introduced. If set
>> to 'enable', AI engine would be run in verbose debug
>> mode providing more information about installation process
>> (captured in standard /tmp/install_log file).
> Is the option install_debug enables verbose/debug  only for AI engine 
> or will it be passed to all libraries and other commands (like pkg)?

I originally  considered to apply it only to AI engine,
basically do the following:

# export LS_DBG_LVL=4
# /usr/bin/auto-install -p <ai_manifest>

I am open to suggestions - do you think it might be useful
to turn on debug mode for other pieces as well ?
I agree that pkg(1) might be one of candidates - looking
at its man page, some subcommands support verbose mode,
e.g. 'install' or 'uninstall'.

Thank you,
Jan


Reply via email to