Rename to just iocage
This commit is contained in:
parent
33a584fc6c
commit
89606c34cd
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
||||||
BINARY = packer-builder-iocage-jail
|
BINARY = packer-builder-iocage
|
||||||
PLUGIN_DIR = ~/.packer.d/plugins
|
PLUGIN_DIR = ~/.packer.d/plugins
|
||||||
GOBIN = $(shell go env GOPATH)/bin
|
GOBIN = $(shell go env GOPATH)/bin
|
||||||
GORELEASER_VER = 0.110.0
|
GORELEASER_VER = 0.110.0
|
||||||
|
|
13
README.md
13
README.md
|
@ -1,4 +1,4 @@
|
||||||
# packer-builder-iocage-jail
|
# packer-builder-iocage
|
||||||
|
|
||||||
This is a [HashiCorp Packer](https://www.packer.io/) plugin to create iocage snapshots.
|
This is a [HashiCorp Packer](https://www.packer.io/) plugin to create iocage snapshots.
|
||||||
|
|
||||||
|
@ -10,21 +10,22 @@ This is a [HashiCorp Packer](https://www.packer.io/) plugin to create iocage sna
|
||||||
|
|
||||||
### Install from source:
|
### Install from source:
|
||||||
|
|
||||||
Clone repository to `$GOPATH/src/gitea.lyrion.ch/zilti/packer-builder-iocage-jail`
|
Clone repository to `$GOPATH/src/gitea.lyrion.ch/zilti/packer-builder-iocage`
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ mkdir -p $GOPATH/src/github.com/vultr; cd $GOPATH/src/github.com/vultr
|
$ mkdir -p $GOPATH/src/gitea.lyrion.ch/zilti; cd $GOPATH/src/gitea.lyrion.ch/zilti
|
||||||
$ git clone http://gitea.lyrion.ch/zilti/packer-builder-iocage-jail.git
|
$ git clone http://gitea.lyrion.ch/zilti/packer-builder-iocage.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Enter the provider directory and build the provider
|
Enter the provider directory and build the provider
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cd $GOPATH/src/gitea.lyrion.ch/zilti/packer-builder-iocage-jail
|
$ cd $GOPATH/src/gitea.lyrion.ch/zilti/packer-builder-iocage
|
||||||
$ make build
|
$ make build
|
||||||
```
|
```
|
||||||
|
|
||||||
Link the build to Packer
|
Link the build to Packer
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ln -s $GOPATH/bin/packer-builder-iocage-jail ~/.packer.d/plugins/packer-builder-iocage-jail
|
$ ln -s $GOPATH/bin/packer-builder-iocage ~/.packer.d/plugins/packer-builder-iocage
|
||||||
|
```
|
||||||
|
|
|
@ -17,6 +17,8 @@ import (
|
||||||
"github.com/hashicorp/packer/template/interpolate"
|
"github.com/hashicorp/packer/template/interpolate"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const BuilderID = "packer.iocage"
|
||||||
|
|
||||||
// Builder implements packer.Builder and builds the actual VirtualBox
|
// Builder implements packer.Builder and builds the actual VirtualBox
|
||||||
// images.
|
// images.
|
||||||
type Builder struct {
|
type Builder struct {
|
||||||
|
|
Loading…
Reference in New Issue