Is there some way to disable networking by passing a kernel option through grub? Prefereably I could only disable 2 interfaces, but disabling all networking would be okay also.
My use case is that I am working on a SELinux operating system and want to disable network access when the system is in permissive mode.
Edit: I'm using CentOS 5.4