I'm unfamiliar with mmod but I assumed you and the article you linked to meant rmmod.

As I understood your answer the solution is to automate the steps I ran manually.

I haven't tried your solution yet.

The network part I addressed by removing the usb0 configuration files.

The mass storage device is not critical to get rid of as I won't be using that partition anyway.

I'm curious about the USB system dependency on g_multi. I guess there is some insight to be found in the source about the module parameters and what could trigger USB to work without loading guest mode features.

Tried loading the other modules pulled in by g_multi without ever having g_multi loaded but that did not work the last time i tried it.