images/iso-builder
Alexander Noskov f45d429c3c Adding functional test for ISO image
This change provides functional testing for both UEFI and legacy boot mode.
This test builds an ISO image, run VM with a predefined IP address,
and checks SSH connectivity.

Change-Id: I498b78b4264a2f373837e3267a58b4309c8588fe
2020-09-02 10:12:24 -05:00
..
examples Adding functional test for ISO image 2020-09-02 10:12:24 -05:00
files Rename isogen directory and fix iso name in docs 2020-08-17 16:14:12 -05:00
Dockerfile Rename isogen directory and fix iso name in docs 2020-08-17 16:14:12 -05:00
Makefile Adding functional test for ISO image 2020-09-02 10:12:24 -05:00
README.md Rename isogen directory and fix iso name in docs 2020-08-17 16:14:12 -05:00

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)