From a67386755ee2cfd8d894f38d709428b10c91a721 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Tue, 14 May 2024 19:13:37 +0100 Subject: [PATCH] refactor: set NET before any other configuration --- quickemu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickemu b/quickemu index a4475e7..2b80324 100755 --- a/quickemu +++ b/quickemu @@ -1060,6 +1060,8 @@ function vm_boot() { boot=${boot,,} guest_os=${guest_os,,} args=() + # Set the hostname of the VM + NET="user,hostname=${VMNAME}" configure_cpu configure_ram @@ -1068,8 +1070,6 @@ function vm_boot() { configure_storage configure_display configure_audio - # Set the hostname of the VM - NET="user,hostname=${VMNAME}" configure_ports configure_file_sharing configure_usb