Not able to update mac using scripts

Leo Noah
expand collapsive

Found the OS update command in the doc very useful but somehow the command does not work on a few of my mac. Is it the issue of my devices? Or is anyone else having this issue.

All Replies

  • Leo Noah

    Leo Noah

    Participant

    Leo Noah

    Participant

    Breakthrough: The command is not working on M1 macs. It works well on other macs

  • Preston

    Preston

    Participant

    Preston

    Participant

    It seems that macOS running on silicon has stopped supporting unattended updates. This command might require the user to give their password to authenticate.

  • Deborah Timothy

    Deborah Timothy

    Hexnode

    Deborah Timothy

    Moderator

    Hello Leo,

    Thank you for reaching out to us. Make sure that your devices have a bootstrap token before deploying the script to update the OS. You can use this command to check if you have a bootstrap token or not:

    sudo profiles status -type bootstraptoken 
    

    If your devices are DEP enrolled, use the Update OS command in Hexnode to get the OS updated.

    Cheers!!
    Deborah Timothy
    Hexnode UEM