This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Vagrant.
Summary
This command shuts down the running machine Vagrant is managing.
- Assembly
- Cake
.Vagrant .dll - Namespace
- Cake
.Vagrant - Containing Type
- VagrantRunner
Syntax
public void Halt(string name = null, bool force = false)
Parameters
Name | Type | Description |
---|---|---|
name | string | Optional name of the machine to halt |
force | bool | Whether to forcefully halt the machine (equivalent to pulling the power) |
Return Value
Type | Description |
---|---|
void |