PListBuddy and Netboot Configuration

hkim
Contributor II

I wanted to share something I figured out recently. I have many NetBoot servers out there, and having to configure each one by one is tedious when I create a new NetBoot set for Casper Imaging. I wanted to share what I use to configure Default, Enable, and Diskless settings. Substitute NameofNetboot with the proper folder name that you want to edit. Substitute true or false if you want the setting on or off..

sudo serveradmin stop netboot sudo /usr/libexec/PlistBuddy -c "SET SupportsDiskless true" /Library/NetBoot/NetBootSP0/NameofNetboot.nbi/NBImageInfo.plist sudo /usr/libexec/PlistBuddy -c "SET IsEnabled true" /Library/NetBoot/NetBootSP0/NameofNetboot.nbi/NBImageInfo.plist sudo /usr/libexec/PlistBuddy -c "SET IsDefault true" /Library/NetBoot/NetBootSP0/NameofNetboot.nbi/NBImageInfo.plist sudo serveradmin start netboot
0 REPLIES 0