afb1093f1a
Since we moved from Debian to Ubuntu we need to align it with docs and directory structure. Change-Id: Ib13eedb1a33d6913c72d15405458bf71feb16891
28 lines
492 B
Markdown
28 lines
492 B
Markdown
# 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)
|