-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] Reuse Ubuntu's Virtual Machine's XML configuration settings for Trisquel #575
Comments
|
This is already the case in osinfo-db: each Trisquel version properly This is a downstream issue (in Trisquel), see my explanations in #589. Hence, closing. |
@ptoscano Your help is deeply appreciated. Thank you so much for spending time to help us with Trisquel development! |
Fixed in Trisquel 11: "Fixed by !1202 (merged), soon to land on the repositories vía, osinfo-db (0.20221130-2+11.0trisquel7)" - https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/116#note_10763 Just to confirm the desired result: Trisquel now uses the same VM XML config as Ubuntu: |
Downstream issue link: #575
Trisquel 10 is based on Ubuntu 20.04, and Trisquel 11 is based on Ubuntu 22.04. However, IDE disk and IDE CDROM is used by the Trisquel hardware detail templates in virt-manager, while Ubuntu uses VirtIO and SATA CDROM, which is faster. Also, I have problems to access USB devices in Trisquel if they use IDE, but not VirtIO.
When the hardware setup is not identical between Trisquel VMs and Ubuntu VMs, it might be difficult to recognize that it can cause the distros to behave differently.
1: OS information
Evaluated in a fresh Trisquel 11 installation on a dedicated test hard drive to avoid potential errors.
Trisquel 11
File -> New Virtual Machine -> Local install media (add trisquel_11.0_amd64.iso, and click on the "Next" button). The "Automatically detect from the installation media / source" will detect "Trisquel 11.0 LTS" (but it has to be manually set for Trisquel, 10, Ubuntu 20.04, and Ubuntu 22.04, for some reason -- but this is not related to this bug)
This is something that virt-manager asks the first time you add an ISO from your directory. Just answer yes, it will add a plus sign user permission to the top directory (in this case ~/Downloads/)
Select "Customize configuration before install", to quickly verify the hardware information:
Notice that "IDE Disk", and "IDE CDROM", is used for Trisquel.
Also, changing the "OS information" later not change the XML domain (the "IDE Disk" will not be changed to "VirtIO" for example).
Ubuntu 22.04
Suggested solution
Based on the findings in the table above, a package helper script could copy:
It's not an option to rename "Ubuntu 22.04 LTS" to "Trisquel 11 LTS / Ubuntu 22.04 LTS", and "Ubuntu 20.04 LTS" to "Trisquel 10 LTS / Ubuntu 20.04 LTS", because Ubuntu is not a free GNU/Linux distribution, so it will not be accepted in Trisquel that is listed as an approved free distro.
virt-manager package info
The text was updated successfully, but these errors were encountered: