
Copies "ironic-agent" element from DIB and addition of a new bash script to build the image using DIB. Change-Id: If392f793ed1b5d902b541fe89299648fae16e427 Task: 30072 Story: 2005114
11 lines
407 B
Bash
Executable File
11 lines
407 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#The path for location of ironic-python-agent-ramdisk in ironic-python-image-builder
|
|
#is set using environment variable.
|
|
export ELEMENTS_PATH=${ELEMENTS_PATH:-`.`}
|
|
|
|
#The command to build image using disk-image-builder.
|
|
#Run the command to build the image giving the argument(OS name)
|
|
#For example: ./build.sh ubuntu
|
|
disk-image-create -o ironic-python-agent.qcow ironic-python-agent-ramdisk $@
|