Tuesday, 11 March 2014

Update Test Using ARD and Scripts

This is the current setup and works in testing:

Deep Freeze on 2 test machines set to thaw between 0.00 and 4am every day

4 tasks on ARD



  1. Update Flash at 0.30 every day (script on http://marjonmacsupport.blogspot.co.uk/2014/03/script-to-update-flash-being-tested-to.html)
  2. Check for Any Updates at 1am (script on http://marjonmacsupport.blogspot.co.uk/2014/03/unix-command-to-update-via-ard.html)
  3. Install rebind package at 3am
  4. Restart Clients at 3.40 am



Thursday, 6 March 2014

Refresh mcx settings from OD (group settings) via unix and ARD

sudo mcxrefresh -n ladmin

Send Unix Command via ARD to create new Deep Freeze schedule

DFXPSWD="normal" /Library/Application\ Support/Faronics/Deep\ Freeze/deepfreeze -u "admin" -p addSchedule "Software Update" -a on -d wednesday -b 18:00 -e 22:00 -o off -i on -l on -w 17:55 -m “Maintenance will begin in %d minutes.” -s off

Script to update Flash being tested to update via ARD

cat#!/bin/sh

# Script to download and install Flash Player.
# Only works on Intel systems.

# Change working directory to /tmp

/usr/bin/cd /tmp

#download flash dmg. Yes I have agreed to all of the licensing terms and am fully compliant with everything in the whole world. Add -s to curl if you hate progress meters
echo downloading

/usr/bin/curl -O http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_player_12_osx.dmg

# Mount the install_flash_player_12_osx.dmg disk image in /Volumes

echo "`date`: Mounting installer disk image."
/usr/bin/hdiutil attach install_flash_player_12_osx.dmg -nobrowse -noverify -noautoopen

echo "`date`: Installing..."

/usr/sbin/installer -dumplog -verbose -pkg "/Volumes/Flash Player/Install Adobe Flash Player.app/Contents/Resources/Adobe Flash Player.pkg" -target "/"

echo "`date`: Unmounting installer disk image."

# Clean-up

# Unmount the install_flash_player_12_osx.dmg disk image from /Volumes

/usr/bin/hdiutil eject -force /Volumes/Flash\ Player

# Remove the install_flash_player_12_osx.dmg disk image from /tmp

/bin/rm -rf /tmp/install_flash_player_12_osx.dmg

Tuesday, 11 February 2014

New Base Image created osx_mavericks_i386.dmg11_2_14

New Base Image created osx_mavericks_i386.dmg11_2_14 on svr-mac-francis

based on restore of osx_maverick_23_01_14i386.dmg

Already on image

PPD
Office (+Personalised)

Added
English proj office personalisation
login script
flash updater

Deep Freeze - testing thaw periods and Apple Update Server

Mac mini with Jam 10.7.5  image (in mac test room)
 
  • DeepFreeze set to thaw at 0.00 till 4am every day
Mac Updated succesfully latest patches and application updates via svr-mac-agnes
Waiting to see on next Flash update test

  • Remote desktop on iMac (old Magdeburg) scheduled to install 'Rebind Jam' package at 2am every day - rebind the mac to AD

Mac mini with  Mavericks image

  • Dowloaded and installed trial Deep Freeze from faronics website (need new version for Mavericks which we don't have)
Currently testing