Skip to content

Commit

Permalink
lxd builder
Browse files Browse the repository at this point in the history
  • Loading branch information
benharri authored and KellerFuchs committed Nov 3, 2018
1 parent c52ea81 commit 5cab879
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ lxc:
rm -rf .packer/build/lxc
$(PACKER) build -only lxc packer/build.json

lxd:
mkdir -p dist
rm -rf dist/*lxd*
rm -rf .packer/build/lxd
$(PACKER) build -only lxd packer/build.json

release:
bash scripts/release.sh

Expand Down
9 changes: 9 additions & 0 deletions packer/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@
],
"target_runlevel": 3
},
{
"type": "lxd",
"name": "lxd",
"image": "images:debian/{{ user `release` }}",
"output_image": "shell-local",
"publish_properties": {
"description": "hashbang shell-server"
}
},
{
"name": "qemu",
"type": "qemu",
Expand Down

0 comments on commit 5cab879

Please sign in to comment.