+ if node_type not in [ 'regular', 'reservable' ]:
+ logger.error("GetBootMedium.build_command: unexpected node_type {}".format(node_type))
+ return command, None
+
+ build_sh_options = ""
+ if "cramfs" in build_sh_spec:
+ type += "_cramfs"
+ if "serial" in build_sh_spec:
+ build_sh_options += " -s {}".format(build_sh_spec['serial'])
+ if "variant" in build_sh_spec:
+ build_sh_options += " -V {}".format(build_sh_spec['variant'])