diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c index da82f5e8..53f246ae 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 ) );