Comments (7)
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.
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.
(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.
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.
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.
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.
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.
from imagr.
Related Issues (20)
- imagr open behind select language pane in macOS Sierra HOT 3
- Imagr crashes if reporting server unavailable HOT 2
- Imagr crashes if timeapi.org returns unexpected data HOT 1
- Description text box for the workflows is not scrollable HOT 1
- Imagr logs a crash if a volume is unmounted HOT 2
- Setting time with http fails to respect timezone HOT 4
- Bug: first-boot items are not installed in order in macOS High Sierra
- validateplist doesn't append query string to background_image check
- Packages/DMGs with spaces will fail if using gurl HOT 2
- Feature request: Prevent Mac from sleeping while Imagr app is running a workflow HOT 1
- first-boot infinite loop if exit code non-zero HOT 7
- After APFS to HFS Conversion via script will casue Imagr to hang HOT 9
- Does not work with macOS 10.13.4 Installer HOT 4
- 10.11 NBI workflow start crash HOT 1
- Workflow doesn't recognize volume format change HOT 4
- Auto key of computer_name component ignored when part of included workflow HOT 2
- com.apple.osinstall error -3 on OS X 10.13.4 if workflow writes to formatted target before startosinstall HOT 2
- first_boot LaunchDaemon does not get created when startosinstall is called via included_workflow HOT 1
- Imagr (High Sierra) preventing reboot during install workflow HOT 1
- first-boot fails to start after Mojave install HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagr.