vm: fix volume_config
- kernel volume shouldn't have snap_on_start, it's read-only volume anyway - root volume of AppVM should have placeholder for 'source' - private volume of AppVM should _not_ have placeholder for 'source' (it's ignored anyway, because snap_on_start=False) QubesOS/qubes-issues#2256
This commit is contained in:
parent
fd5386cd47
commit
80b459b6d5
@ -48,6 +48,7 @@ class AppVM(qubes.vm.qubesvm.QubesVM):
|
||||
'snap_on_start': True,
|
||||
'save_on_stop': False,
|
||||
'rw': False,
|
||||
'source': None,
|
||||
'internal': True
|
||||
},
|
||||
'private': {
|
||||
@ -56,7 +57,6 @@ class AppVM(qubes.vm.qubesvm.QubesVM):
|
||||
'snap_on_start': False,
|
||||
'save_on_stop': True,
|
||||
'rw': True,
|
||||
'source': None,
|
||||
'size': defaults['private_img_size'],
|
||||
'internal': True
|
||||
},
|
||||
@ -70,7 +70,6 @@ class AppVM(qubes.vm.qubesvm.QubesVM):
|
||||
'kernel': {
|
||||
'name': 'kernel',
|
||||
'pool': 'linux-kernel',
|
||||
'snap_on_start': True,
|
||||
'rw': False,
|
||||
'internal': True
|
||||
}
|
||||
|
@ -68,7 +68,6 @@ class DispVM(qubes.vm.qubesvm.QubesVM):
|
||||
'kernel': {
|
||||
'name': 'kernel',
|
||||
'pool': 'linux-kernel',
|
||||
'snap_on_start': True,
|
||||
'rw': False,
|
||||
'internal': True
|
||||
}
|
||||
|
@ -94,7 +94,6 @@ class TemplateVM(QubesVM):
|
||||
'kernel': {
|
||||
'name': 'kernel',
|
||||
'pool': 'linux-kernel',
|
||||
'snap_on_start': True,
|
||||
'internal': True,
|
||||
'rw': False
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user