2014-03-24 06:20:32 -04:00
---
layout: "docs"
2014-08-21 20:41:35 -04:00
page_title: "Null Builder"
2014-10-20 16:47:30 -04:00
description: |-
The `null` Packer builder is not really a builder, it just sets up an SSH connection and runs the provisioners. It can be used to debug provisioners without incurring high wait times. It does not create any kind of image or artifact.
2014-03-24 06:20:32 -04:00
---
# Null Builder
Type: `null`
2014-10-20 16:47:30 -04:00
The `null` Packer builder is not really a builder, it just sets up an SSH connection
2014-03-24 06:20:32 -04:00
and runs the provisioners. It can be used to debug provisioners without
incurring high wait times. It does not create any kind of image or artifact.
## Basic Example
Below is a fully functioning example. It doesn't do anything useful, since
no provisioners are defined, but it will connect to the specified host via ssh.
2014-10-20 13:55:16 -04:00
```javascript
2014-03-24 06:20:32 -04:00
{
2015-07-01 04:46:47 -04:00
"type": "null",
"ssh_host": "127.0.0.1",
2014-05-06 19:38:33 -04:00
"ssh_username": "foo",
"ssh_password": "bar"
2014-03-24 06:20:32 -04:00
}
2014-10-20 13:55:16 -04:00
```
2014-03-24 06:20:32 -04:00
## Configuration Reference
2015-06-23 17:44:57 -04:00
The null builder has no configuration parameters other than the
[communicator ](/docs/templates/communicator.html ) settings.
2014-03-24 06:20:32 -04:00