From 45db8aea3c28abe74c4be1c40ee0b41683fc180b Mon Sep 17 00:00:00 2001 From: Stephen Andary Date: Mon, 16 Oct 2023 16:04:59 -0400 Subject: [PATCH] minor name changes --- ubuntu/Makefile | 2 +- ubuntu/README.md | 6 ++++++ ubuntu/{ubuntu-virtualbox.pkr.hcl => ubuntu-box.pkr.hcl} | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) rename ubuntu/{ubuntu-virtualbox.pkr.hcl => ubuntu-box.pkr.hcl} (97%) diff --git a/ubuntu/Makefile b/ubuntu/Makefile index dbcceca3..a7716833 100644 --- a/ubuntu/Makefile +++ b/ubuntu/Makefile @@ -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: diff --git a/ubuntu/README.md b/ubuntu/README.md index 292382bb..1bfafcdc 100644 --- a/ubuntu/README.md +++ b/ubuntu/README.md @@ -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: diff --git a/ubuntu/ubuntu-virtualbox.pkr.hcl b/ubuntu/ubuntu-box.pkr.hcl similarity index 97% rename from ubuntu/ubuntu-virtualbox.pkr.hcl rename to ubuntu/ubuntu-box.pkr.hcl index 9af0fc34..14308faf 100644 --- a/ubuntu/ubuntu-virtualbox.pkr.hcl +++ b/ubuntu/ubuntu-box.pkr.hcl @@ -34,6 +34,6 @@ build { } post-processor "vagrant" { - output = "custom-ubuntu-virtbox.box" + output = "custom-ubuntu-virtual.box" } } \ No newline at end of file