Added boolean to control if the booted os should be saved to the boot config.