Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
summerwind committed Sep 5, 2018
1 parent 963337f commit 966d4ca
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ Download the binary from the [Releases](https://github.com/summerwind/packer-bui
- `~/.packer.d/plugins` on Unix systems or `%APPDATA%/packer.d/plugins` on Windows
- The current working directory

## Build plugin
## Building plugin

You can build this plugin with the following command. Please install [Glide](https://github.com/Masterminds/glide) before the build.
To build the binary you need to install [Go](https://golang.org/), [dep](https://github.com/golang/dep) and [task](https://github.com/go-task/task).

```
$ make
$ task vendor
$ task build
```

## How Does it Work?
## How does it work?

This plugin mounts the specified QCOW2 format image to the file system using the `qemu-nbd` command. Once mounted, a `chroot` command is used to provision the system within the image. After provisioning, the image is unmounted and save it as the QCOW2 format.

Expand Down

0 comments on commit 966d4ca

Please sign in to comment.