Re: Passing a variable to ks.cfg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the help Steve and Patty!!

This is just an FYI to let you all know what I eventually got to work.....

In my syslinux.cfg I was able to place the work "scsi":

label onescscidrive  kernel vmlinuz
  append ks=nfs:10.1.1.1:/redhat.disks/ks.cfg scsi initrd=initrd.img network

In the post section of the ks.cfg file I was able to grep the commandline as such:  cat /proc/cmdline | grep scsi
Then I looked at the return value  to see if the word scsi was found or not (grep returns a 0 if the word was found).





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux