Sample Boot Time Configuration
Note
The Boot Time Configuration is the responsibility of System Administrator and a script cannot be provided without testing on the user environment.
To configure the Sample Boot Time, you need to add file luks_capi_service
in /etc/init.d directory and configure the following sample script:
#!/bin/sh
# chkconfig: - 99 85
echo $KS_PASS | cryptsetup luksOpen /dev/xyz testDevice
In case of certificate based authentication, where no KS_PASS
is required, use echo | cryptsetup luksOpen /dev/xyz testDevice
Run the following commands to make this script as a service from /etc/init.d directory:
chmod a+x luks_capi_service
chkconfig --add luks_capi_service
chkconfig --level 356 luks_capi_service on
chkconfig --list