Re: Post script breakes kickstart file

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

 



Gerrard Geldenhuis schrieb:

Hi

I have the following few lines in a post script. When I add this to the post script running chrooted it breaks the kickstart. Meaning nothing after this lines gets executed.

f [ $(grep -c eth /proc/net/dev) -eq 4 ]; then

  SECETH='eth2'

else

  SECETH='eth1'


Is "f" equivalent to "if" or is this a typo?


I've got several post-install steps and they actually do work, after some fiddling.


cheers,
Rainer

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[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