mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
fix bookworm import
This commit is contained in:
parent
7c2aeee70c
commit
faaf0c53b3
1 changed files with 2 additions and 1 deletions
|
@ -35,12 +35,13 @@ def resolve_tasks(taskset, manifest):
|
|||
if manifest.provider['console'] == 'virtual':
|
||||
taskset.update([boot.SetGrubConsolOutputDeviceToVirtual])
|
||||
|
||||
from bootstrapvz.common.releases import jessie, bookworm
|
||||
from bootstrapvz.common.releases import jessie
|
||||
if manifest.release >= jessie:
|
||||
taskset.update([boot.SetGrubConsolOutputDeviceToVirtual,
|
||||
boot.SetSystemdTTYVTDisallocate,
|
||||
])
|
||||
|
||||
from bootstrapvz.common.releases import bookworm
|
||||
if manifest.release >= bookworm:
|
||||
if filesystem.CopyMountTable in taskset:
|
||||
taskset.remove(filesystem.CopyMountTable)
|
||||
|
|
Loading…
Add table
Reference in a new issue