The following patch fix reverts removal of some lines for the netboot patch.