Fix behavior for shutdown after installing macOS

Issue #408 new
Dave Lebbing created an issue

build 20252

Scenario:

Workflow set to shutdown after macOS installation does not shut down.

User creates a workflow that erases and installs macOS and chooses to shutdown after installing macOS, then on Resources panel adds packages set as “after macOS installation” and adds profiles set as “after macOS and packages”, the workflow will set a shutdown command but then restart, which will cancel the shutdown.

If the user needs the machine to be shutdown when this workflow is run this could cause a problem.

Consider refactoring the UI to either not provide options on Resources panel that would disrupt settings previously chosen on macOS panel. Or consider creating a separate panel for restart/shutdown or other machine operations and move controls from both the macOS panel and Resources panel to this new location. Then only provide options on the new panel for restart/shutdown that are consistent with the choices that were made on the other panels.

Comments (5)

  1. timothy perfitt

    So here is what I see are the options:


    installMacOS

    Installer automatically restarts so no option to cancel after running workflow

    Can restart or shutdown after first start scripts. However, what if there are first login scripts?


    Restore Image from Disk Image

    Can give option to restart or shutdown after running workflow

    Restart or shutdown after first boot scripts

    Restart or shutdown option after first login scripts


    No OS Image installed

    Restart or shutdown after first boot scripts

    Restart or shutdown option after first login scripts


    Let’s sit down and look at the UI and come up with an agreeable solution. There are many dependencies and I sense there is a way to more tightly couple reboot/shutdown options

  2. Log in to comment