Transform a dispVM to an appVM

When installing qubesOS 4.1 I chooseto have my sys-usb and sys-firewall as a dispVM but I would like to get it back to a normal appVM, how can I do it ?

[user@dom0 ~]$ qvm-prefs sys-usb
audiovm             D  dom0
auto_cleanup        D  False
autostart           -  True
backup_timestamp    -  1622398468
debug               D  False
default_dispvm      -  None
default_user        D  user
dispid              -  3712
gateway             D  
gateway6            D  
guivm               D  dom0
icon                D  dispvm-blue
include_in_backups  D  True
installed_by_rpm    D  False
ip                  D  
ip6                 D  
kernel              D  5.10.38-1.fc32
kernelopts          D  
keyboard_layout     D  us++
klass               D  **DispVM**
label               -  blue
mac                 D  00:16:3e:5e:6c:00
management_dispvm   D  default-mgmt-dvm
maxmem              -  0
memory              -  1000
name                -  sys-usb
netvm               -  None
provides_network    -  False
qid                 -  29
qrexec_timeout      D  60
shutdown_timeout    D  60
start_time          D  1622731476.86
stubdom_mem         U
stubdom_xid         D  33
template            -  debian-10-dvm1
updateable          D  False
uuid                -  07291f41-67be-450a-b111-3031ed031e52
vcpus               -  8
virt_mode           -  hvm
visible_gateway     D  
visible_gateway6    D  
visible_ip          D  
visible_ip6         D  
visible_netmask     D  
xid                 D  32
[user@dom0 ~]$ qvm-prefs sys-firewall
audiovm             D  dom0
auto_cleanup        D  False
autostart           -  False
backup_timestamp    -  1622398468
debug               D  False
default_dispvm      D  debian-10-dvm1
default_user        D  user
dispid              -  7988
gateway             D  10.138.31.52
gateway6            D  
guivm               D  dom0
icon                D  dispvm-blue
include_in_backups  D  True
installed_by_rpm    D  False
ip                  D  10.138.31.52
ip6                 D  
kernel              D  5.10.38-1.fc32
kernelopts          D  
keyboard_layout     D  us++
klass               D  **DispVM**
label               -  blue
mac                 D  00:16:3e:5e:6c:00
management_dispvm   D  default-mgmt-dvm
maxmem              D  10000
memory              -  500
name                -  sys-firewall
netvm               -  sys-net
provides_network    -  True
qid                 -  7
qrexec_timeout      D  60
shutdown_timeout    D  60
start_time          D  
stubdom_mem         U
stubdom_xid         D  -1
template            -  debian-10-dvm1
updateable          D  False
uuid                -  f1d0ef94-4901-4168-88ac-033334892b00
vcpus               D  6
virt_mode           D  pvh
visible_gateway     D  10.137.0.6
visible_gateway6    D  
visible_ip          D  10.138.31.52
visible_ip6         D  
visible_netmask     D  255.255.255.255
xid                 D  -1

https://dev.qubes-os.org/projects/core-admin-client/en/latest/manpages/qvm-clone.html

qvm-clone -C AppVM sys-usb sys-usb-new
qvm-clone -C AppVM sys-firewall sys-firewall-new
1 Like

I believe OP is asking from a DisposableVM into a standard AppVM. I believe that makes it into a template.

You’re right i’ve edited the command, such mistake :cry:

2 Likes

Happens to the best of us :wink:

2 Likes