From ff2a89215e79cb326182fb62de0098ea0f70a920 Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Mon, 1 Dec 2014 10:21:13 -0600 Subject: [PATCH] Improve --ramdisk-element docs Unlike most of the options to disk-image-create, this one didn't document its default value, and it also didn't have any context for why one might use it. Change-Id: I57ea529cf387ab8ec8497d35be19ac64198df47a Related-Bug: 1397073 --- bin/disk-image-create | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/disk-image-create b/bin/disk-image-create index 9fdb304c..933a0a66 100755 --- a/bin/disk-image-create +++ b/bin/disk-image-create @@ -65,6 +65,8 @@ function show_options () { echo " Options need to be comma separated, and follow the key=value pattern." echo " --root-label label -- label for the root filesystem. Defaults to 'cloudimg-rootfs'." echo " --ramdisk-element -- specify the main element to be used for building ramdisks." + echo " Defaults to 'ramdisk'. Should be set to 'dracut-ramdisk' for platforms such" + echo " as RHEL and CentOS that do not package busybox." echo " --install-type -- specify the default installation type. Defaults to 'source'. Set to 'package' to use package based installations by default." if [ "$IS_RAMDISK" == "0" ]; then echo " -n skip the default inclusion of the 'base' element"