Skip to content

Commit

Permalink
minor name changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Andary committed Oct 16, 2023
1 parent dc7e287 commit 45db8ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ubuntu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ custom-ubuntu.tar.gz: check-deps clean seeds-flat.iso OVMF_VARS.fd \
custom-ubuntu-lvm.dd.gz: check-deps clean seeds-lvm.iso OVMF_VARS.fd
${PACKER} init . && ${PACKER} build -only=qemu.lvm .

custom-ubuntu-box.box: check-deps clean seeds-box.iso OVMF_VARS.fd
custom-ubuntu-virtual.box: check-deps clean seeds-box.iso OVMF_VARS.fd
${PACKER} init . && ${PACKER} build -only=virtualbox-iso.box .

clean:
Expand Down
6 changes: 6 additions & 0 deletions ubuntu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ to build a raw image with LVM, alternatively, you can build a TGZ image
make custom-ubuntu.tar.gz
```

To build a virtualbox image for vagrant using the Makefile:

```shell
make custom-ubuntu-virtual.box
```

You can also manually run packer. Your current working directory must
be in packer-maas/ubuntu, where this file is located. Once in
packer-maas/ubuntu you can generate an image with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ build {
}

post-processor "vagrant" {
output = "custom-ubuntu-virtbox.box"
output = "custom-ubuntu-virtual.box"
}
}

0 comments on commit 45db8ae

Please sign in to comment.