Fix macOS provisioning not shutting down cleanly
authorFrederik Gladhorn <frederik.gladhorn@qt.io>
Tue, 6 Dec 2016 17:59:10 +0000 (18:59 +0100)
committerSimon Hausmann <simon.hausmann@qt.io>
Wed, 7 Dec 2016 13:47:42 +0000 (13:47 +0000)
commitd0552ebf2d401944d3e263000e23ca41a060d00c
tree05aa39d00b49f8bf04ee3b25b60cd8b9ec0d3451
parent150071b395e7c81a9af08469f4cb2f69c2838480
Fix macOS provisioning not shutting down cleanly

After provisioning we want the machine to be sensibly shut down since we
will use the disk image later. VSphere doesn't manage to shut down 10.8
VMs. Help out by calling shutdown.
For the other OS X/macOS versions, this is also desirable since
controlling the power state of these machines is hard with different
virtualization solutions (we're looking at OpenNebula/KVM).

Change-Id: Ieabc14f9c8c1af9421a0ef91dd670f4790a84461
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
coin/provisioning/qtci-osx-10.10-x86_64/999-shutdown.sh [new file with mode: 0644]
coin/provisioning/qtci-osx-10.11-x86_64/999-shutdown.sh [new file with mode: 0644]
coin/provisioning/qtci-osx-10.8-x86_64/999-shutdown.sh [new file with mode: 0644]
coin/provisioning/qtci-osx-10.9-x86_64/999-shutdown.sh [new file with mode: 0644]