tommy@dom0:\~$ qvm-shutdown --wait sys-usb ; qvm-prefs sys-usb template fedora-43-xfce ; qvm-start sys-usb ; sleep 3m ; qvm-shutdown --wait sys-usb ; qvm-prefs sys-usb template fedora-42-xfce ; qvm-start sys-usb
qvm-prefs: error: template for disposable must have template_for_dispvms=True
**qvm-prefs: error: template for disposable must have template_for_dispvms=True**
phceac returned this reply can anyone help me solve this issue?
Then there is a problem -I think- that your sys-usb is a “named disposable” qube, so it must have a template that is suitable. I do not remember the name of the setting to make your new template work…
Can you provide the output ofqvm-prefs sys-usb? I suspect your template is currently set as a disposable template rather than a regular template, which may be causing the issue.
Edit: I suspect your sys-usb is a disposable vm, in which case it cannot use a regular template as its template.
~$ qvm-prefs sys-usb
audiovm D dom0
auto_cleanup D False
autostart - True
backup_timestamp U
bootmode D default
debug D False
default_dispvm D default-dvm
default_user D user
devices_denied D
dispid - 5855
dns D 10.139.1.1 10.139.1.2
gateway D 10.138.23.13
gateway6 D
guivm D dom0
icon D servicevm-red
include_in_backups D True
installed_by_rpm D False
ip D 10.138.23.13
ip6 D
is_preload D False
kernel D 6.18.42-1.fc41
kernelopts D
keyboard_layout D us++
klass D DispVM
label - red
mac D 00:16:3e:5e:6c:00
management_dispvm D default-mgmt-dvm
maxmem - 0
memory - 300
name - sys-usb
netvm - None
provides_network - True
qid - 15
qrexec_timeout D 60
shutdown_timeout D 60
start_time D 1786892873.46
stubdom_mem U
stubdom_uuid D c6de2b9d-73a6-42b3-9ff6-737105e0e94a
stubdom_xid D 2
template - default-dvm
updateable D False
uuid - ba57a88c-5089-4451-8414-7d670013d854
vcpus D 2
virt_mode - hvm
visible_gateway D
visible_gateway6 D
visible_ip D 10.138.23.13
visible_ip6 D
visible_netmask D
xid D 1
They wouldn’t. qvm-prefs default-dvm fedora-43-xfce True doesn’t make sense. Try this.
qvm-shutdown --all --wait
qvm-prefs default-dvm template fedora-43-xfce
qvm-start sys-usb
sleep 3m
qvm-shutdown --all --wait
qvm-prefs default-dvm template fedora-42-xfce
qvm-start sys-usb
Either put the commands in a script and run it, or put all of them in a single line separated with semicolons (“;”). If the keyboard works after the first time sys-usb restarts, just press Ctrl+C to prevent reverting to the Fedora 42 template.
Don’t bring me in to this.
When I put forward that script, it was in a different context and it
worked for the OP in that thread.
Obviously any contribution in the Forum must be reviewed and adapted to
the circumstances of the user.
I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.