GNOME Boxes edit configuration feature does not work

Bug #2016896 reported by Jeremy Bícha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Boxes
Fix Released
Unknown
gnome-boxes (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Impact
======
GNOME Boxes has a feature to edit the libvirt xml configuration file to allow for additional configuration changes beyond those includes in the Preferences dialog.

Due to a bug, changes were not being saved and used by Boxes.

Test Case
=========
1. From Ubuntu 23.04, install GNOME Boxes
2. Open GNOME Boxes
3. If you do not already have an existing box set up:
   a. Click the + button to create a new box using an existing downloaded ISO or let it download one for you.
   b. The New Virtual Machine dialog will display (after it finishes downloading the ISO if needed)
   c. The Create button should be active
   d. Click the Create button and Boxes should start a virtual machine and boot that ISO
   e. Complete the install
4. From the main Boxes screen, right click on the box and select Preferences
5. Switch to the Devices & Shares page and make sure that there is an ISO set up for CDROM/DVD Drive (if not, click + and select an existing bootable ISO like an Ubuntu Installer ISO)
6. Switch back to the Resources page. Click Edit Configuration. It will ask if you want to create a snapshot; either answer is fine.
7. Your text editor will open with an xml file. Find the line that says
   <boot dev="hd"/>
8. Change "hd" in that line to "cdrom"
9. Save the file. Close the file.
10. Click the box to start it. It should boot the ISO instead of the hard drive.

What Could Go Wrong
===================
As a component of GNOME core, there is a micro-release exception for GNOME Boxes.
https://wiki.ubuntu.com/StableReleaseUpdates/GNOME

This fix will likely be included in GNOME Boxes 44.1 due in a few days.

This is a one-line patch.

Tags: lunar
Changed in gnome-boxes:
status: Unknown → New
Jeremy Bícha (jbicha)
Changed in gnome-boxes (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-boxes - 44.1-1ubuntu3

---------------
gnome-boxes (44.1-1ubuntu3) lunar; urgency=medium

  * Cherry-pick patch to fix Edit Configuration feature (LP: #2016896)
  * Depend on libvirt-clients to fix inability to create virtual machines
    (LP: #2016324)

 -- Jeremy Bicha <email address hidden> Tue, 18 Apr 2023 10:26:21 -0400

Changed in gnome-boxes (Ubuntu):
status: Fix Committed → Fix Released
Changed in gnome-boxes:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.