mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-10-08 01:40:31 +00:00
fstab must exist before installing bootloader
This commit is contained in:
parent
a433f1c299
commit
35d6140cb1
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
from base import Task
|
from base import Task
|
||||||
from common import phases
|
from common import phases
|
||||||
from common.tasks import apt
|
from common.tasks import apt
|
||||||
|
from common.tasks import filesystem
|
||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
|
|
||||||
|
@ -45,6 +46,7 @@ class AddGrubPackage(Task):
|
||||||
class InstallGrub(Task):
|
class InstallGrub(Task):
|
||||||
description = 'Installing grub'
|
description = 'Installing grub'
|
||||||
phase = phases.system_modification
|
phase = phases.system_modification
|
||||||
|
predecessors = [filesystem.FStab]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def run(cls, info):
|
def run(cls, info):
|
||||||
|
@ -118,6 +120,7 @@ class AddExtlinuxPackage(Task):
|
||||||
class InstallExtLinux(Task):
|
class InstallExtLinux(Task):
|
||||||
description = 'Installing extlinux'
|
description = 'Installing extlinux'
|
||||||
phase = phases.system_modification
|
phase = phases.system_modification
|
||||||
|
predecessors = [filesystem.FStab]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def run(cls, info):
|
def run(cls, info):
|
||||||
|
|
Loading…
Add table
Reference in a new issue