To enable SR-IOV VFs at every boot, or to set routing information, setting specific commands at boot was needed, and this was able to automize uzing "rc.local"
systemctl status rc-local.service
It is inactive for now
printf '%s\n' '#!/bin/bash' 'exit 0' | sudo tee -a /etc/rc.local sudo
sudo chmod +x /etc/rc.local
sudo vim /lib/systemd/system/rc-local.service
# Add at end
[Install]
WantedBy=multi-user.target
sudo systemctl enable rc-local.service
sudo systemctl start rc-local.service
sudo vim /etc/rc.local
#add stuffs like:
route add default gw 8.8.8.8