Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First-Boot-Package-Install isn't working with Sierra #2

Open
ramuntcho opened this issue Sep 29, 2016 · 8 comments
Open

First-Boot-Package-Install isn't working with Sierra #2

ramuntcho opened this issue Sep 29, 2016 · 8 comments

Comments

@ramuntcho
Copy link

Hi,

Here, in the schools of Geneva, Switzerland, we have using First-Boot-Package-Install for many years now, in conjunction with AutoDMG.

Now, i try to make a new master with MacOS 10.12 and i use First-Boot-Package-Install.pkg. I restore a mac with an image created with AutoDMG, the mac boots, the window with the list of the packages appears. Everything seems good, but when the mac restarts, it shows again the window with the list of the packages and install them again... and again. We have to manually delete the folder inside Shared to be able to start normally the mac.
Thanks for your help.

Christian

@rtrouton
Copy link
Owner

Do any of the packages you're installing via First Boot Package Install themselves include a command for restarting the machine? The reason I'm asking is that it sounds like the script running the package installation process is not reaching the part of the process where it removes the following directory:

/Users/Shared/fb_installers

https://github.com/rtrouton/First-Boot-Package-Install/blob/master/scripts/firstbootpackageinstall.sh#L175-L180

@ramuntcho
Copy link
Author

ramuntcho commented Sep 29, 2016

My last package is a firstboot.pkg which has a reboot command after 60 seconds so it could be an explanation. But i don't understand, because i use the same last package with El Capitan (i didn't make any changes for now, because i wanted to try all my presets), and it was always working well.

@rtrouton
Copy link
Owner

¯\_(ツ)_/¯

Please try taking out the reboot command from the final package and see if First Boot Package Install now behaves as expected.

@ramuntcho
Copy link
Author

Ok, i will try on Monday, thanks

@ramuntcho
Copy link
Author

Ok, everything is fine. Many thanks

@macguitarman
Copy link

macguitarman commented Mar 18, 2017

Hello rtrouton / ramuntcho,

Having the same issue in 10.12 Sierra. Mac keeps rebooting to the FBPI log screen, after 2-3 reboots it's done, but was not doing this before.

FBPI does a sudo jamf policy -event post-image script trigger. In that script I recently included some additional triggers to create 3 hidden local admin accounts.... but there is nothing in that script prompting a reboot. Like ramuntcho, the last PKG is the FBPI.pkg, and I do not have any reboot command that I know of, associated with that, where would that be? Thx in advance, j

@rtrouton
Copy link
Owner

@macguitarman,

Check your policies, one of them may request a reboot. Specifically, I would recommend checking to see if any of your policies have No User Logged In Action set to Restart if a package or update requires it.

screen shot 2017-03-22 at 8 37 46 am

@macguitarman
Copy link

macguitarman commented Mar 22, 2017 via email

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

No branches or pull requests

3 participants