Merge "Support custom kernel cmdline args for deploy iso"
This commit is contained in:
commit
f0dc50e83b
@ -142,12 +142,14 @@ IMAGE_NAME=${IMAGE_NAME:-'image'}
|
||||
if echo $IMAGE_ELEMENT | grep -q '\bramdisk\b'; then
|
||||
EMITTED_KERNEL=$IMAGE_NAME.kernel
|
||||
EMITTED_RAMDISK=$IMAGE_NAME.initramfs
|
||||
EMITTED_KERNEL_CMDLINE_ARGS="boot_method=vmedia"
|
||||
DIB_DEPLOY_ISO_KERNEL_CMDLINE_ARGS=${DIB_DEPLOY_ISO_KERNEL_CMDLINE_ARGS:-}
|
||||
EMITTED_KERNEL_CMDLINE_ARGS="boot_method=vmedia $DIB_DEPLOY_ISO_KERNEL_CMDLINE_ARGS"
|
||||
EMITTED_ISO_FILENAME=$IMAGE_NAME.iso
|
||||
elif echo $IMAGE_ELEMENT | grep -q '\bironic-agent\b'; then
|
||||
EMITTED_KERNEL=$IMAGE_NAME.vmlinuz
|
||||
EMITTED_RAMDISK=$IMAGE_NAME.initramfs
|
||||
EMITTED_KERNEL_CMDLINE_ARGS="boot_method=vmedia"
|
||||
DIB_DEPLOY_ISO_KERNEL_CMDLINE_ARGS=${DIB_DEPLOY_ISO_KERNEL_CMDLINE_ARGS:-}
|
||||
EMITTED_KERNEL_CMDLINE_ARGS="boot_method=vmedia $DIB_DEPLOY_ISO_KERNEL_CMDLINE_ARGS"
|
||||
EMITTED_ISO_FILENAME=$IMAGE_NAME.iso
|
||||
elif echo $IMAGE_ELEMENT | grep -q '\bbaremetal\b'; then
|
||||
EMITTED_KERNEL=${IMAGE_NAME}.vmlinuz
|
||||
|
Loading…
Reference in New Issue
Block a user