mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 01:22:37 +03:00
[image] Add "--autofree" option
Allow images to be automatically freed after execution completes (successfully or otherwise). Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -146,6 +146,8 @@ void imgstat ( struct image *image ) {
|
||||
printf ( " [TRUSTED]" );
|
||||
if ( image->flags & IMAGE_SELECTED )
|
||||
printf ( " [SELECTED]" );
|
||||
if ( image->flags & IMAGE_AUTO_UNREGISTER )
|
||||
printf ( " [AUTOFREE]" );
|
||||
if ( image->cmdline )
|
||||
printf ( " \"%s\"", image->cmdline );
|
||||
printf ( "\n" );
|
||||
|
||||
Reference in New Issue
Block a user