image-builder: set default value of AGENT_INIT

Set as default AGENT_INIT=no when not explicitly set, to make it
consistent with the other scripts in osbuilder

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
This commit is contained in:
Marco Vedovati 2019-04-26 15:20:31 +02:00
parent 0013352d9b
commit 7cfe5b4dd2

View File

@ -34,6 +34,10 @@ readonly dax_header_sz=2
# [2] - https://nvdimm.wiki.kernel.org/2mib_fs_dax # [2] - https://nvdimm.wiki.kernel.org/2mib_fs_dax
readonly dax_alignment=2 readonly dax_alignment=2
# Set a default value
AGENT_INIT=${AGENT_INIT:-no}
# In order to support memory hotplug, image must be aligned to # In order to support memory hotplug, image must be aligned to
# memory section(size in MB) according to different architecture. # memory section(size in MB) according to different architecture.
case "$(uname -m)" in case "$(uname -m)" in