What am I doing wrong with /rw/ when trying to modify network conditions?

I am trying to create a /rw/ condition that applies to the VM and there’s something completely off about my conceptual understanding or implementation.

i created /rw/network-hooks.d/50-set-mtu.sh

and in the file I wrote

sudo ip link set mtu 1420 dev eth0

this isn’t running by default. what am i doing wrong? does this need to be in rc.local? this is easy stuff that i am screwing up probably

Put it in /rw/config/rc.local which must be executable.
No need for ‘sudo’ - scripts in /rw/config/ run as root.