[Bug]: Unattended Guest OS Installation Domain Name Entry results in error while completing field value

Aperta
#994 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 6 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c, cpp
Ambito
desktop

Direzione di ricerca

The behaviour lives in the Qt GUI's unattended-install wizard, not in the VM backend: find the handler that validates the guest hostname/domain name and emits the "trailing dot not permitted" message, then see what triggers it on each keystroke of the Domain Name field. Change it to validate on commit (focus loss or Next) rather than on text change, and confirm the error no longer appears while typing myhome.local but still fires for a genuinely invalid value. The issue names no file, so expect to search the GUI unattended-install sources for the message text first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Version

7.2.22

Host OS Type

Windows

Host OS name + version

Windows 11 Build 26300

Host Architecture

x86

Guest OS Type

Windows

Guest Architecture

x86

Guest OS name + version

N/A

Component

Other

What happened?

When creating a new VM, I am getting a "Can't run guest install..." error that says "Failed to run unattended guest installation. ... Invalid hostname ..... - trailing dot not permitted." with some error codes. This occurs while typing the "Domain Name" in the unattended config. I expect it to wait for me to finish typing before evaluating whether it will work. I'm not sure how it determines that it failed to run the installation when the Guest VM hasn't been created yet.

How can we reproduce this?

Begin creating a new VM. Go to Set up unattended guest OS installation, and type "myhome.local". You'll see the error appear on the right panel as soon as "myhome." has been typed, before finishing the rest of the domain.

Did you upload all of your necessary log files, screenshots, etc.?
  • Yes, I've uploaded all pertinent files to this issue.
Lingua principale
C
Stelle
1.4k
Fork
219
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di VirtualBox/virtualbox

Tutte le issue di VirtualBox/virtualbox

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.