use snapshot device in template to make it updatable with running appvms
This commit is contained in:
parent
19222ab8c7
commit
a4ad587974
@ -10,7 +10,7 @@ root="/dev/mapper/dmroot"
|
|||||||
memory = 400
|
memory = 400
|
||||||
name = "%VMNAME%"
|
name = "%VMNAME%"
|
||||||
|
|
||||||
disk = [ 'file:%TEMPLATEDIR%/root.img,xvda,r',
|
disk = [ 'snapshot:%TEMPLATEDIR%/root.img:%TEMPLATEDIR%/root-cow.img,xvda,r',
|
||||||
'file:%VMDIR%/private.img,xvdb,w',
|
'file:%VMDIR%/private.img,xvdb,w',
|
||||||
'file:%VMDIR%/root-cow.img,xvdc,w',
|
'file:%VMDIR%/root-cow.img,xvdc,w',
|
||||||
'file:%VMDIR%/swap-cow.img,xvdd,w'
|
'file:%VMDIR%/swap-cow.img,xvdd,w'
|
||||||
|
@ -10,7 +10,7 @@ root="/dev/mapper/dmroot"
|
|||||||
memory = 400
|
memory = 400
|
||||||
name = "%TEMPLATENAME%"
|
name = "%TEMPLATENAME%"
|
||||||
|
|
||||||
disk = [ 'file:/var/lib/qubes/vm-templates/%TEMPLATENAME%/root.img,xvda,w',
|
disk = [ 'origin:/var/lib/qubes/vm-templates/%TEMPLATENAME%/root.img:/var/lib/qubes/vm-templates/%TEMPLATENAME%/root-cow.img,xvda,w',
|
||||||
'file:/var/lib/qubes/vm-templates/%TEMPLATENAME%/private.img,xvdb,w',
|
'file:/var/lib/qubes/vm-templates/%TEMPLATENAME%/private.img,xvdb,w',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user