Makefile: Name images/tarball after appliance name not hostname.

The reason being that when you are distributing an image you are likely
distributing an general appliance, not a specific host so it makes sense
that the image name be the name of the appliance and not, e.g., ln33.  This
can always be overriden on the command line or in a profile.
This commit is contained in:
Albert Hopkins 2015-02-21 13:21:05 +00:00
parent 928dcf9e1c
commit 50a4a28567
1 changed files with 6 additions and 6 deletions

View File

@ -1,12 +1,12 @@
CHROOT = $(CURDIR)/vabuild CHROOT = $(CURDIR)/vabuild
APPLIANCE ?= base APPLIANCE ?= base
HOSTNAME = $(APPLIANCE) HOSTNAME = $(APPLIANCE)
RAW_IMAGE = $(HOSTNAME).img RAW_IMAGE = $(APPLIANCE).img
QCOW_IMAGE = $(HOSTNAME).qcow QCOW_IMAGE = $(APPLIANCE).qcow
VMDK_IMAGE = $(HOSTNAME).vmdk VMDK_IMAGE = $(APPLIANCE).vmdk
XVA_IMAGE = $(HOSTNAME).xva XVA_IMAGE = $(APPLIANCE).xva
LST_FILE = $(HOSTNAME)-packages.lst LST_FILE = $(APPLIANCE)-packages.lst
STAGE4_TARBALL = stage4/$(HOSTNAME)-stage4.tar.xz STAGE4_TARBALL = stage4/$(APPLIANCE).tar.xz
VIRTIO = NO VIRTIO = NO
TIMEZONE = UTC TIMEZONE = UTC
DISK_SIZE = 6.0G DISK_SIZE = 6.0G