Skip to content

Do not force reboot after changes #3

@brajjan

Description

@brajjan

Prerequisites

Put an X between the brackets on each line to confirm you have completed them:

  • The issue is still present in the latest version of the module.
  • The issue has not been previously reported.

Description

The Set-TargetResource includes $global:DSCMachineStatus = 1 and forces a reboot of the node if LCM is configured with RebootNodeIfNeeded = $true

This should not be set in the resource but instead let users decide if you want to restart the node and call a separate reboot resoruce

Suggestion: Remove $global:DSCMachineStatus = 1 from Set-TargetResource

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions