Coder Social home page Coder Social logo

Comments (7)

grahamgilbert avatar grahamgilbert commented on July 18, 2024

I've not seen a munki bootstrap killed by it, but the first boot script was pulled mostly from my first boot package, so it could definitely do with some work.

from imagr.

gregneagle avatar gregneagle commented on July 18, 2024

One should not mix-and-match first-boot installs and Munki bootstrapping. Both are trying to the same thing at the same time. Do one or the other; not both.

from imagr.

gregneagle avatar gregneagle commented on July 18, 2024

(To clarify: if you use Imagr to install the Munki bootstrap pieces immediately (not at first boot), and then reboot, the Munki bootstrap behaves as expected.)

from imagr.

JDHatman avatar JDHatman commented on July 18, 2024

I follow the same logic in DS. Munki bootstrap is installed on first boot.
1st reboot - DS finalize runs, installing Munki, a managed installs plist, and kickstart.
2nd reboot - munki boostrap runs and installs all software I need.

I think, though, I just realized the difference. In DS, munki isn't installed til the first boot. In Imagr, I have it installed pre_first_boot. I changed it to first boot and now the launchd isn't yet active, thus delaying the kickstart til the next reboot. All works as it should now.
1st reboot - Imagr first_boot script installs munki, munki kickstart (launchd isn't yet active so kickstart doesn't kick-off yet)
2nd reboot - kickstart starts to run munki, but still there is a 3rd reboot for no reason, interrupting munki.
3rd reboot - kickstart doesn't run again by itself.

I may have to rethink how I have this set up.

from imagr.

gregneagle avatar gregneagle commented on July 18, 2024

Looks to me like some of the first-boot logic could be adjusted: If we don't find any scripts or pkgs, cleanup but do NOT restart, as there's no reason to.

from imagr.

grahamgilbert avatar grahamgilbert commented on July 18, 2024

I've changed the first boot script to only reboot if it's run things (allowing for failure - it will retry packages if they fail to install) in 80f1da5.

from imagr.

JDHatman avatar JDHatman commented on July 18, 2024

I assume this is related to the changes you made earlier, but now after the first-boot items are installed, the log window never goes away. Everything successfully installs, but you have to manually send the reboot command before it will continue.
screen shot 2015-04-27 at 9 04 34 pm

from imagr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.