Help with Netinstall Configure script

Does anyone have a netinstall "configure script" example they can share?

Background: I'm relatively new to MikroTik. We have been using DDWRT for our customer installs but we are switching to MikroTik, I am trying to figure out how the configure script function of the NetInstall program works. I am using Version 6.42.10 of NetInstall on a RB750Gr2 running routeros 6.41.3 I'm installing the same version that is already running. I've used

/export compact file=compact

to export the settings on the router to an RSC file then tried to use it as the configure script in NetInstall. I've also tried copying and pasting the

/system default-configuration

into a file and using that, I've also tried elimintating everything but the most basic settings for the router ip and dhcp server and using that with the same result each time.

When I set Netinstall to "Apply default settings" it will go through its process and come up normally. But if I set any Configure script it will go through its process and reboot but the dhcp server will not come up. Any device I connect to it will get a Link-local address.


I learn well from good examples, anyone have a good example of a working Configuration Script for Netinstall?



example of one file I tried


\

jan/02/1970 00:08:00 by RouterOS 6.41.3

software id = SNNB-Y51C

model = RouterBOARD 750G r2

serial number = 5C4F052587DD

#/ip dns

#set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB max-concurrent-queries=100 max-concurrent-tcp-sessions=20 max-udp-packet-size=4096 query-server-timeout=2s query-total-timeout=10s servers=172.16.12.1

/ip dns static

set numbers=0 address=192.168.10.1 disabled=no name=router.lan regexp="" ttl=1d

/system identity

set name=router

/ip pool

set numbers=0 name=default-dhcp ranges=192.168.10.10-192.168.10.254

/ip address

#add address=172.16.12.2/24 disabled=no interface=ether1 network=172.16.12.0

set numbers=0 address=192.168.10.1/24 comment=defconf disabled=no interface=bridge network=192.168.10.0

#/ip dhcp-client

#disable numbers=0

/ip dhcp-server network

set numbers=0 address=192.168.10.0/24 caps-manager="" comment=defconf dhcp-option="" dns-server="" gateway=192.168.10.1 netmask=24 ntp-server="" wins-server=""

#/ip route

#add !bgp-as-path !bgp-atomic-aggregate !bgp-communities !bgp-local-pref !bgp-med !bgp-origin !bgp-prepend !check-gateway disabled=no distance=1 dst-address=0.0.0.0/0 gateway=172.16.12.1 !route-tag !routing-mark scope=30 target-scope=10
compact3.rsc (2.83 KB)
small.rsc (1.21 KB)
full.rsc (2.39 KB)
backup.rsc (24.8 KB)