Post script breakes kickstart file

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

 



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'

 

I have encapsulated the script in brackets and piped the output to a log file but this is empty and provides no clue as to why this breaks the kickstart file.

 

I am looking into the matter further but just thought maybe some one would at a glance know what is causing the problem.

 

Regards

_______________________________________________
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