SCCM OSD Deployment with static IP address
Deploy a new system via SCCM OSD, there is no DHCP in the LAN, hence have to setup static IP on the workstation.
But the problem is, the static IP lost after reboot the workstation.
When there is no DHCP, the manually typed IP settings will gone after reboot if you don't fill the data again, becasue TS variables are just created as OS environment variables.
To resolve this, you can add 'Apply Network settings' step in task sequence
Then write a custom script using the SMS.TSEnvironment COM object to set the TS variables to get this done.
Apply Network Settings Task Sequence Action Variables
How to Use Task Sequence Variables in a Running Configuration Manager Task Sequence