Skip to content

Reboot issues with macOS Sonoma #110

Description

@flammable

Is anyone else using the reboot functionality with IAs?

We're running an older build, and with IAs set to reboot at the end of bootstrapping, we're finding Macs running macOS Sonoma beta 7 do not reboot. IAs writes to the logs that the Mac is rebooting, then IAs cleans up after itself.

Here's the relevant code:

https://github.com/macadmins/installapplications/blob/main/payload/Library/installapplications/installapplications.py#L415-L419

Running /usr/bin/osascript -e delay 5 -e tell application "System Events" to restart manually doesn't seem to do anything on macOS Sonoma beta 7, either, so I don't think this is an IAs-specific issue.

Any objection to changing this to something like /sbin/shutdown -r now instead?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions