Comments (5)
Hi hunty1,
I guess i could throw in something like the below.. should be ok on all NetBoot servers then:
plutil -convert xml1 NBImageInfo.plist
On the disabled systems, if they are not there you cannot selectively choose what macs can boot from the NBI.. So that's an issue. Also, it should really stop non-supported Macs from booting into an NBI.. which i rather like.
What issue are you seeing with that array being populated?
from autocaspernbi.
Ah good point, I should just make a script to pull out the models that we do support for our NBI instead.
I use BSDPy and it uses the disabled systems dict in NBImageInfo.plist to prevent booting of those systems which was giving me a headache so i just ended up removing all the models in there but you're right really should prevent unsupported machines from booting the NBI
from autocaspernbi.
Cool.
I'll add the line to convert the plist to xml, so that should help non-OSX netboot.
Regards,
Ben.
On 8 Nov 2014, at 04:48, Calum [email protected] wrote:
Ah good point, I should just make a script to pull out the models that we do support for our NBI instead.
I use BSDPy and it uses the disabled systems dict in NBImageInfo.plist to prevent booting of those systems which was giving me a headache so i just ended up removing all the models in there but you're right really should prevent unsupported machines from booting the NBI
—
Reply to this email directly or view it on GitHub.
from autocaspernbi.
Hi Hunty1,
The xml convert should be added to 1.0.1 which I've just posted, please test & advise.
from autocaspernbi.
Just tested. Looks good to me! Thanks!
For what its worth and for anyone reading at home. Regarding the unsupported systems, here is a snippet from the script I run.
fix_NBImageInfo(){
echo "* Removing all disabled systems from $nbimageinfo"
$plistbuddy -c "delete :DisabledSystemIdentifiers" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers array" $nbimageinfo
echo "* Adding list of unsupported MacBookPro systems to $nbimageinfo"
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacBookPro3,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacBookPro2,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacBookPro1,2" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacBookPro1,1" $nbimageinfo
echo "* Adding list of unsupported MacBook systems to $nbimageinfo"
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacBook5,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacBook4,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacBook3,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacBook2,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacBook1,1" $nbimageinfo
echo "* Adding list of unsupported MacBookAir systems to $nbimageinfo"
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacBookAir1,1" $nbimageinfo
echo "* Adding list of unsupported Macmini systems to $nbimageinfo"
$plistbuddy -c "add :DisabledSystemIdentifiers: string Macmini3,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string Macmini2,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string Macmini1,1" $nbimageinfo
echo "* Adding list of unsupported iMac systems to $nbimageinfo"
$plistbuddy -c "add :DisabledSystemIdentifiers: string iMac7,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string iMac6,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string iMac5,2" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string iMac5,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string iMac4,2" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string iMac4,1" $nbimageinfo
echo "* Adding list of unsupported MacPro systems to $nbimageinfo"
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacPro3,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacPro3,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacPro2,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string MacPro1,1" $nbimageinfo
echo "* Adding list of unsupported Xserve systems to $nbimageinfo"
$plistbuddy -c "add :DisabledSystemIdentifiers: string Xserve3,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string Xserve2,1" $nbimageinfo
$plistbuddy -c "add :DisabledSystemIdentifiers: string Xserve1,1" $nbimageinfo
}
from autocaspernbi.
Related Issues (20)
- Cannot build 10.13 APFS NBI on older OS's HOT 1
- Add Jamf Imaging.app to Dock
- 10.13 NBI: Auto Login Sometimes Fails HOT 6
- 10.13 NBI: Take 8+ minutes to boot HOT 2
- NetInstall Service NFS on High Sierra HOT 1
- Jamf Imaging 10.0 in Restorable DMG HOT 1
- Build Greyed out when major version difference HOT 2
- System Administrator Security & Privacy Setting HOT 8
- Build and options greyed out with 10.13.6 HOT 3
- Trying to build with a 10.14 OS.dmg fails HOT 1
- Disk Utility not working in macOS Sierra NBI created with AutoCasperNBI 1.4.1 HOT 10
- Dark Mode HOT 1
- Mojave Support HOT 1
- Fix incrementing CFBundleVersion HOT 1
- Update version check HOT 1
- Doesn't like Imaging Tool 10.8 HOT 10
- Mojave Custom Desktop HOT 1
- Correctly Sign
- Image app selection doesn't seem to work HOT 1
- Create a nbi with autocaspernbi and "InstallESD.dmg" of Mojave install HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autocaspernbi.