Skip to content

Commit 9e9d9a7

Browse files
committed
lxd builder
1 parent a2a30fc commit 9e9d9a7

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ lxc:
4242
rm -rf .packer/build/lxc
4343
$(PACKER) build -only lxc packer/build.json
4444

45+
lxd:
46+
mkdir -p dist
47+
rm -rf dist/*lxd*
48+
rm -rf .packer/build/lxd
49+
$(PACKER) build -only lxd packer/build.json
50+
4551
release:
4652
bash scripts/release.sh
4753

packer/build.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@
2424
],
2525
"target_runlevel": 3
2626
},
27+
{
28+
"type": "lxd",
29+
"name": "lxd",
30+
"image": "images:debian/{{ user `release` }}",
31+
"output_image": "shell-local",
32+
"publish_properties": {
33+
"description": "hashbang shell-server"
34+
}
35+
},
2736
{
2837
"name": "qemu",
2938
"type": "qemu",

0 commit comments

Comments
 (0)