0

Is there a way to have kickstart generate root password based on boot menu input?

For example if boot menu is:

LABEL TEST_BOOT 
  KERNEL mykernel
  APPEND -c test.cfg ks=file://kickstart.cfg SET_PASSWORD=use_option_A

The SET_PW in the menu line could be either use_option_A or use_option_B

if use_option_A
   rootpw abcd
if user_option_B
   rootpw defg

0 Answers0