How to rebuild OPSI-DHCP Config in RouterOS ?

Hallo,

I’m currently deploying a lot of laptops for a voluntary projects by using OPSI.
OPSI needs som configuration on the DHCP to work probable.

actually it looks like this ISC-DHCP Config:

               next-server 192.168.1.10;
                filename "opsi/opsi-linux-bootimage/loader/opsi-netboot.bios";
                # Das ist die UEFI Detection:
                if substring (option vendor-class-identifier , 19,1 ) = "0" {
                        log (info, "pxe client");
                        filename "opsi/opsi-linux-bootimage/loader/opsi-netboot.bios";
                }
                else if substring (option vendor-class-identifier , 19,1 ) = "6" {
                        log (info, "efi32 client");
                        filename "linux/pxelinux.cfg/elilo-x86.efi";
                }
                else if substring (option vendor-class-identifier , 19,1 ) = "7" {
                        log (info, "efi64 client");
                        filename "opsi/opsi-linux-bootimage/loader/shimx64.efi.signed";
                }
                else {
                        log (info, concat ( "Unhandled vendor class Arch: ", substring (option vendor-class-identifier , 19,1 )));
                }

Is it possible to build a configuration like this in Mikrotiks Router OS with Options-Matcher?
I was unable to find out to handle the part with the nineteenth symbol in the vendor-class-id string in routeros.

Maybee someone here has a hint for me…

Thanks