doc
This commit is contained in:
@@ -12,6 +12,7 @@ define openstack
|
||||
$(call run,$(DOCKER_SSH_AUTH) $(DOCKER_REPOSITORY)/openstack:$(DOCKER_IMAGE_TAG) $(1))
|
||||
endef
|
||||
else
|
||||
# function openstack: Call run openstack with arg 1
|
||||
define openstack
|
||||
$(call run,openstack $(1))
|
||||
endef
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
# target openstack: Call openstack ARGS
|
||||
.PHONY: openstack
|
||||
openstack: docker-build-openstack
|
||||
$(call openstack,$(ARGS))
|
||||
|
||||
# target openstack-image-create: Call openstack image create PACKER_ISO_NAME with file PACKER_ISO_FILE
|
||||
.PHONY: openstack-image-create
|
||||
openstack-image-create: $(PACKER_ISO_FILE) docker-build-openstack
|
||||
$(call openstack,$(OPENSTACK_ARGS) image create --disk-format raw --container-format bare --file $(PACKER_ISO_FILE) "$(PACKER_ISO_NAME)")
|
||||
|
||||
Reference in New Issue
Block a user