aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/usr/autoboot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index da82f5e..53f246a 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -160,6 +160,7 @@ int uriboot ( struct uri *filename, struct uri *root_path, int drive,
if ( filename ) {
if ( ( rc = imgdownload ( filename, &image ) ) != 0 )
goto err_download;
+ image->flags |= IMAGE_AUTO_UNREGISTER;
if ( ( rc = image_exec ( image ) ) != 0 ) {
printf ( "Could not boot image: %s\n",
strerror ( rc ) );