You are not logged in.

Announcement

[2017.09.08] DeployStudio build v1.7.8 (checksum, release note).
[2016.08.26] DeployStudio build v1.6.19 (release note).
[2013.02.23] DeployStudio last universal build v1.5.17 (release note).

#1 2016-12-20 15:15:03

sonic68
Member
Registered: 2008-12-16

Mac OS instal task

I would be nice to see a Mac OS install task that works like a NetInstall set. This would be useful when Apple switches over to APFS.

Offline

#2 2016-12-21 08:50:24

mjsanders
Member
From: Schiedam, Netherlands
Registered: 2008-09-02
Website

Re: Mac OS instal task

If you create a pkg using CreateOSXInstall.pkg (https://github.com/munki/createOSXinstallPkg) and use a workflow with just the 'install a package' step, non-postponed I guess it works as a netinstall.
I used this method for upgrades to newer versions, not yet for clean installs, but I guess it will work.
Edit: I just checked it, this procedure works ! (workflow: partition disk , 1 partition 'Macintosh HD' (i.e. wipe), install package InstallOSX_10.12.1_16B2657.pkg)

Last edited by mjsanders (2016-12-21 09:39:52)

Offline

#3 2016-12-21 14:11:42

sonic68
Member
Registered: 2008-12-16

Re: Mac OS instal task

What version of DeployStudio are you using?

Offline

#4 2016-12-21 15:14:58

sonic68
Member
Registered: 2008-12-16

Re: Mac OS instal task

Ok I got that to work but I would have to run 2 different workflows 1 to install the pkg which requires a restart to install the os then another to install all the pkgs and settings. It would be nice if their was a task that would do the install during my workflow so I wouldn't have to reboot multiple times to re-image a computer

Offline

#5 2016-12-22 08:59:56

mjsanders
Member
From: Schiedam, Netherlands
Registered: 2008-09-02
Website

Re: Mac OS instal task

DS 1.7.5 on 10.12.1
Yeah, the two step worksflows you describe is the downside for DeployStudio.
DS is designed to deploy images, with some post-install tasks.....

It is possible to include more pkgs inside the first pkg with commands like

sudo ./createOSXinstallPkg --source /path/to/Install\ Mac\ OS\ X\ Lion.app --pkg /path/to/LocalAdmin.pkg --pkg /path/to/DisableSetupAssistant.pkg

(example from https://www.munki.org/createOSXinstallPkg/)

so If you can get all your wishes for configuration and settings into pks, this should work.

Theoretically you could create a script that will run on second (or third) boot, so theoretically run the ds_finalize scripts after the completion of the macOS install.
My approach could be:
-a launchdeamon1 to run a script that leaves a launchagent2, and removes launchdeamon1
-at second boot launchdeamon2 runs the ds_finalize.sh things

Offline

#6 2017-02-21 14:17:30

sonic6829
Member
Registered: 2016-12-20

Re: Mac OS instal task

I tried imaging with the install pkg made with 10.12.3 and DS 1.7.6 and the install pkg keeps failing. Have you tried it with 1.7.6?

Offline

#7 2017-02-23 09:46:34

mjsanders
Member
From: Schiedam, Netherlands
Registered: 2008-09-02
Website

Re: Mac OS instal task

Not tried myself, I use DeployStudio for restoring minimal images created with AutoDMG, and configure the Mac with name and users.

Offline

Board footer

Powered by FluxBB