I'm picking up a project that is somewhat out of my depth and expertise so I'll try to lay it out simply. We had a system of sensors that were connected by ethernet to a router, this router had been configured to run a VM of Debian10 that was itself running a python module automatically transmitting the collected sensor data (we could SSH to the router to configure the VM and view data).
I understand how the core components of this work (i.e. the VM was setup in VirtualBox, and putty was used for the SSH) but I'm struggling to understand how it was initialised/built, mainly how would the VM be installed via virtualbox on the router in the first place?
I don't have a router to hand but is it as simple as setting up a SSH and dictating from the command line? The router would be similar in make/model to a RUTX09 (but not that exact model).
For context I'm handling this project as our main systems/coding engineer left, I am unfortunately the most qualified in my team to take this on and my coding experience is mostly data analysis in python.
Edit: Some important information I think I missed; while I can configure the router from my office it will eventually be placed on a vehicle, this vehicle will have a network that we should be able to access via VPN. I have done some digging and come up with the relevant paramters of the original router used: it had 16gb ram, an intel xeon family processor (1.5-2.1Ghz), 1tb SSD.