2014-03-24 06:20:32 -04:00
|
|
|
---
|
2017-06-14 21:04:16 -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.
|
2015-07-22 22:31:00 -04:00
|
|
|
layout: docs
|
2017-06-14 21:04:16 -04:00
|
|
|
page_title: 'Null - Builders'
|
|
|
|
sidebar_current: 'docs-builders-null'
|
2017-03-25 18:13:52 -04:00
|
|
|
---
|
2014-03-24 06:20:32 -04:00
|
|
|
|
|
|
|
# Null Builder
|
|
|
|
|
|
|
|
Type: `null`
|
|
|
|
|
2015-07-22 22:31:00 -04:00
|
|
|
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
|
|
|
|
|
|
|
## Basic Example
|
|
|
|
|
2015-07-22 22:31:00 -04:00
|
|
|
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-03-24 06:20:32 -04:00
|
|
|
|
2020-03-12 10:05:08 -04:00
|
|
|
```json
|
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.
|