cosalib/gcp: add ability to pass through --fcos arg to ore
@@ -61,6 +61,9 @@ def gcp_run_ore(build, args):
'--write-url', urltmp,
])
+ if args.fcos:
+ ore_args.extend(['--fcos'])
+
run_verbose(ore_args)
build.meta['gcp'] = {
'image': gcp_name,
@@ -98,4 +101,9 @@ def gcp_cli(parser):
parser.add_argument("--project",
help="GCP Project name",
default=os.environ.get("GCP_PROJECT_NAME"))
+ parser.add_argument("--fcos",
+ help="""Flag this is Fedora CoreOS (or a derivative);
+ Currently enables SECURE_BOOT and UEFI_COMPATIBLE""",
+ action="store_true",
+ default=False)
return parser
