images/iso-builder/README.md
Alexander Noskov afb1093f1a Rename isogen directory and fix iso name in docs
Since we moved from Debian to Ubuntu we need to
align it with docs and directory structure.

Change-Id: Ib13eedb1a33d6913c72d15405458bf71feb16891
2020-08-17 16:14:12 -05:00

492 B

airship-isogen

Iso creation tool

Prepare

$(BUILD_DIR)=/some_path... mkdir $(BUILD_DIR)

If you don't have isogen image

make build_isogen

Usage

cp examples/user-data $(BUILD_DIR) cp examples/isogen.yaml $(BUILD_DIR) cp examples/network-config $(BUILD_DIR) #Modify files if necessary

docker run
--rm
-e BUILDER_CONFIG=/config/isogen.yaml
-v $(shell realpath $(BUILD_DIR)):/config/
$(shell cat $(BUILD_DIR)/image_id)

Get ubuntu_focal.iso from dir $(BUILD_DIR)