Next we need to go update cutomsettings.ini so ZTI will go look at our new DB values. Then we will update our deployment point then update our OSD Packackage files so the new customsettings.ini makes it into our package
You would be suprised how many people forget this small step :-)
Open the Deployment Workbench and navigate to Deploy > Deployment Points and Right Click on your OSD Deployment point and select Configure DB.
Since we are setting options for Make-Model deselect all of the computer query options
Since we are setting options for Make-Model deselect all of the Location Options.
Select Query for SMS packages to be installed on computers with this make and model and deselect everything else.
Since we are setting options for Make-Model deselect all of the Role based options.
The steps below will need to be repeated EVERY time the customsettings.ini is altered
- Update Deployment Point Files
- Update the OS Package Files
- Update the DP's with the new Package
===If those steps are not done every time customsettings.ini is updated you will not see the changes in behavior you expect===
=====Update Deployment Point Files=====
Now right click on the OSD Deployment Point and select Update (files only).

=====Update the OS Package Files=====
Open the SMS Administrator console and right click on your OSD package and select All Tasks > Update Operating System Package Files.

Next you can (do not have to) go to your OSD Package Source and verify the new customsettings.ini file is now in the package source.

Here is a screenshot of my completed and functioning customsettings.ini file.

And here is the contents of the customsettings.ini file
[Settings]
Priority=MMPackages, Default
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
UserDataLocation=AUTO
[SMS]
SQLServer=HOST
Database=SMS_XXX
Table=v_Program
Parameters=PackageID, Programname
SQLSHARE=SMSClient
[MMPackages]
SQLServer=HOST.SCCMADMIN.COM
Database=BDD07AdminDB
Netlib=DBNMPNTW
SQLShare=\\host\SMSClient
Table=MakeModelPackages
Parameters=Make, Model
Order=Sequence
Update the DP's with the new Package
then go right click on the OSD package and select Update Distribution Points os the new customsettings.ini file gets copied to your DP's.

Now go and deploy to the model you configured. It should install the package you specified in the Packages page.