...
The available parameters are as follows:
Parameter | Meaning |
---|---|
-r | resets the configuration upon reinstallation procedure, optional |
-k keyfile | provides the device with a license key (key file in .KEY format), optional |
-s userscript | preconfigures the device with the provided configuration (text file in .RSC format), optional |
-a IP | uses a specific IP address that the Netinstall server will assign to the device, mandatory |
PACKAGE | specify a list of RouterOS.NPK format packages that Netinstall will try to install on the device, mandatory |
-i | starting from Release 7.7rc3 allows you to specify an interface on which netinstall will work on the host, using multiple NICs. (sudo ./netinstall-cli -i <interface> -r -a 192.168.88.3 routeros-mipsbe-7.7rc3.npk) |
First make sure you have set the IP on your computer's interface:
...
Code Block | ||||
---|---|---|---|---|
| ||||
admin@ubuntu:~$ sudo ./netinstall-cli -r -a 192.168.88.3 routeros-mipsbe-7.56.npk Version: 7.5 (2022-08-30 09:34:59) Using server IP: 192.168.88.2 Use Netmask: 255.255.255.0 Starting PXE server Waiting for RouterBOARD... PXE client: C4:AD:34::89:10 Sending image: mips Discovered RouterBOARD... Formatting... Sending package routeros-mipsbe-7.5.npk ... Ready for reboot... Sent reboot command |
...