mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
Fix GCE expand-root since commit/2ece5a66e1e36f30bef3a675e8287ab8c1bcc04f
This commit is contained in:
parent
4e8300a7df
commit
6c03860eac
2 changed files with 0 additions and 13 deletions
|
@ -40,7 +40,6 @@ def resolve_tasks(taskset, manifest):
|
|||
tasks.host.InstallHostnameHook,
|
||||
tasks.boot.ConfigureGrub,
|
||||
initd.AddExpandRoot,
|
||||
tasks.initd.AdjustExpandRootDev,
|
||||
initd.InstallInitScripts,
|
||||
boot.BlackListModules,
|
||||
boot.UpdateInitramfs,
|
||||
|
|
|
@ -6,18 +6,6 @@ from . import assets
|
|||
import os.path
|
||||
|
||||
|
||||
class AdjustExpandRootDev(Task):
|
||||
description = 'Adjusting the expand-root device'
|
||||
phase = phases.system_modification
|
||||
predecessors = [initd.AddExpandRoot, initd.AdjustExpandRootScript]
|
||||
|
||||
@classmethod
|
||||
def run(cls, info):
|
||||
from bootstrapvz.common.tools import sed_i
|
||||
script = os.path.join(info.root, 'etc/init.d/expand-root')
|
||||
sed_i(script, '/dev/xvda', '/dev/sda')
|
||||
|
||||
|
||||
class AddGrowRootDisable(Task):
|
||||
description = 'Add script to selectively disable growroot'
|
||||
phase = phases.system_modification
|
||||
|
|
Loading…
Add table
Reference in a new issue