Mac System Administrators regularly have to build and test installer packages. One of the best ways to test a package is to install it on a virtual machine. You can then quickly revert the VM to a snapshot after the installation and try again.
Since most package building happens on the command line, the fastest way to copy and install a package is with
ssh. You can use
scp to copy the pkg file and then run the
installer command in an
Doing two separate commands over and over seemed quite tedious. so I built myself a short script that combined both.
ssh-installer takes two arguments, the first is the remote host in the form
user is optional) and the second in the pkg file you want to send and install. All other arguments will be passed into the
installer command on the remote host. You will probably want to add
-target / in most cases. I did not add the
-target as a default in case you want to test
installer’s other parameters.
This script is just a shortcut for a task I have to do several times while building and testing packages. It is not in any way meant to serve as a means of managing Mac clients. You really should use a decent management system for that.
Re-posting this, because I believe it is very important:
As part of a discussion of security issues with some colleagues this morning, the question of how to disable Bonjour advertisement came up on OS X El Capitan and later came up. Bonjour advertisemen…
Source: Disabling Bonjour advertisement on OS X El Capitan and later | Der Flounder
I have been dabbling with some home automation recently. I believe it makes more sense to control the light switches directly, rather than the individual bulbs. However, I have yet to find a system that has the longevity and availability in Europe that I expect from something that I would pay hundreds of Euros for.
Until I find that system I have put in a few Philips Hue White bulbs in strategic spots in the house. It is very cool when you pull up to the driveway and tell Siri to turn on the front light… Or dim the hallway lights when you are carrying stuff.
The prices for individual bulbs have dropped on Amazon yesterday. This may mean that an upgrade is imminent, but since the current bulbs work fine and work well with HomeKit and Siri in iOS 9 and 10. This is a good chance to stock up on some units:
- Starter Set Color: Amazon US, Amazon DE, Amazon UK
- Color Bulb Single: Amazon US, Amazon DE, Amazon UK
- White Bulb: Amazon US (2-Pack) , Amazon DE (Single), Amazon UK
- Starter Set White: Amazon US, Amazon DE, Amazon UK
- Dimmer Switch: Amazon US, Amazon DE, Amazon UK
The links are affiliate links. When you buy I will get a small kickback… Thank you!
And it is a free upgrade for 8.x users!
VMware Fusion 8.5 announcement
Like many people tasked with managing OS X/macOS machines, I use VMware Fusion to do a lot of testing. Fusion enables me to test in various versions of OS X, and to easily make changes and revert t…
Source: Stupid Tricks with createOSXinstallPkg and VMware Fusion – Managing OS X