US 12,327,101 B2
Generating streams of disk image files usable for deploying software in computing environments
Nicholas Carboni, Trenton, NJ (US); Ronnie Lazar, Ra'anana (IL); and Avishay Traeger, Ra'anana (IL)
Assigned to Red Hat, Inc., Raleigh, NC (US)
Filed by RED HAT, INC., Raleigh, NC (US)
Filed on Jun. 6, 2022, as Appl. No. 17/833,044.
Prior Publication US 2023/0393828 A1, Dec. 7, 2023
Int. Cl. G06F 8/61 (2018.01)
CPC G06F 8/63 (2013.01) 14 Claims
OG exemplary drawing
 
1. A system comprising:
a processor; and
a non-transitory computer-readable memory comprising instructions that are executable by the processor for causing the processor to;
receive, from a client device, a request for a disk image file;
determine, based on the request, a base image file and a customized file that are combinable for generating the disk image file;
determine, from a header of the base image file, an embedding area within the base image file that is a same size or a larger size than the customized file, wherein the header of the base image file comprises a size and an offset of the embedding area;
transmit, to the client device, a first portion of the base image file as a stream, the first portion preceding the embedding area;
pause transmission of the base image file as the stream in response to determining, based on the size and offset, that an entirety of the first portion of the base image file has been transmitted;
subsequent to pausing transmission of the base image file as the stream, transmit, to the client device, the customized file as the stream; and
subsequent to transmitting the customized file as the stream, transmit, to the client device, a second portion of the base image file as the stream in response to determining, based on the size and offset, that the entirety of the customized file has been transmitted, the second portion of the base image file comprising a remainder of the base image file that succeeds the embedding area.