From 060bfb0926894f70e89d5372facd4179b0a16d28 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 6 May 2026 08:46:09 -0400 Subject: [PATCH] Add a '-r' argument to refresh site contents If an environment manually manages all materials, provide -r to let them request packing of those materials without trying to generate any of the content. --- confluent_server/bin/osdeploy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/confluent_server/bin/osdeploy b/confluent_server/bin/osdeploy index ecf2b075..bf81b1de 100644 --- a/confluent_server/bin/osdeploy +++ b/confluent_server/bin/osdeploy @@ -49,6 +49,7 @@ async def main(args): wiz.add_argument('-p', help='Copy in TFTP contents required for PXE support', action='store_true') wiz.add_argument('-i', help='Interactively prompt for behaviors', action='store_true') wiz.add_argument('-l', help='Set up local management node to allow login from managed nodes', action='store_true') + wiz.add_argument('-r', help='Repack site contents if present', action='store_true') osip = sp.add_parser('importcheck', help='Check import of an OS image from an ISO image') osip.add_argument('imagefile', help='File to use for source of importing') osip = sp.add_parser('import', help='Import an OS image from an ISO image') @@ -389,6 +390,8 @@ async def initialize(cmdset): rc = initialize_genesis() if rc != 0: sys.exit(rc) + if cmdset.r: + didsomething = True if not didsomething and (cmdset.k or cmdset.l or cmdset.g or cmdset.p): if cmdset.g: await updateboot('genesis-x86_64')