We’re working on moving from static IP addressing to DHCP to support NetBooting OS X clients. To determine when clients are ready to NetBoot, we’ve created a task and analysis to report when a system has a DHCP address.
We’d also like to create a similar tool for listing available NetBoot services, but requires modifying the python script to send a different type of broadcast packet. Please let me know if you’d like to help!
Oh it is a Gist. No wonder I couldn’t find it when I went looking for it.
I do like the idea of Gists. Why make things so complicated for a single script?
Well then I started using them, and you can’t do pull requests on Gists, which makes them rather annoying to collaborate with. I really think Gists should only be used for minor code snippets or perhaps something that is never expected to change much, otherwise they become a problem.
I don’t think there is a good solution for this problem. One option is to make a new GitHub public repo for every single item unless it really fits in with an existing one, and even then that isn’t a clearly good option.
Another option, which I have been doing lately is I made a “tools” repo that contains many simple scripts. This is effectively my new Gist location, but because it is a proper GitHub repo, it supports all the features for collaboration. I don’t think this is a perfect solution either. See here: https://github.com/jgstew/tools
My goal is to create a repo for these tools at some point, specifically publicly. I’m hoping to add an additional call to determine available netboot servers. Ideally, these tools will be combined into a repo for our network tools.
Gists are ok for sharing a quick snippet or small script, but I’d rather have a repo for the reasons you’ve listed.
Here is one that will just return the DHCP/Manual flag for all network connections. JG helped out a while ago and I never posted it back. This is one uses pure relevance.