When I rewired mine I used the unused part of the slots on the end of the motor mounting plate to route the power cords, (motor to switch and switch to outlet). A zip tie on the "to plug" end provides strain relief. I used a 15', 12ga. extension cord for mine, Lee Valley has a "special buy" on them at that time, so I got it at a good price. :cool:
The whole bottom of the headstock casting on at 10ER is open, 😉 so no need to drill any holes.

and a close up.

In retrospect, if I was doing it again I would run the cord from the wall to a box with four outlets mounted at the back of the bench, and then just a short cord with a plug to switch.
The extra outlets would be handy to plug in lights, or small tools like a random orbit sander.