Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Bug: first-boot items are not installed in order in macOS High Sierra #184

Closed
Clkw0rk opened this issue Sep 14, 2017 · 0 comments
Closed

Comments

@Clkw0rk
Copy link
Contributor

Clkw0rk commented Sep 14, 2017

If your workflow depends on installing a pkg or running a script in a specific order, first-boot installations will occur out of order and can lead to issues.

Steps to Reproduce Issue

Configure a High Sierra Imagr workflow with packages and scripts
Set restart_action to none
Run workflow on client
Check the contents of /usr/local/first-boot/items, see that they are ordered as specified in your workflow
Reboot the system
Wait for first-boot to launch and begin installing pkgs and running scripts
Note the order (or lack of order) that pkgs and scripts are run in

Potential fix could be to add for item in sorted(os.listdir(items_dir)): to the first-boot script in Imagr/Resources

Versions Report

Imagr 1.3.9 (latest from Macadmins slack
AutoNBI.py from feature/highsierra
NBI built with Install macOS High Sierra Beta version 17A360a as source App

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants