Skip to content

ws-creator apply

Reapplies fragments and modules on an existing distro (-Only: just some of them). cloud-init adds and removes nothing: to remove a permission, purge, then new. Get-Help Update-WsCreatorMachine -Full

Terminal window
Update-WsCreatorMachine [-Name] <String> [[-Only] <String[]>] [-Apply]
Parameter Type Required Position Description
-Name String true 1 The machine: folder <WS_CREATOR_MACHINES>\<Name>\, and the distro of the same name.
-Only String[] false 2 Just these fragments or modules of the machine, e.g. -Only mise,agent.
-Apply SwitchParameter false named Do it. Without it, only shows the steps (dry run).
Terminal window
ws-creator apply my-machine -Only guard,agent -Apply