mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
ec2: Only enable systemd when grub is the bootloader
Right now we can only properly edit the linux bootparams, when using grub. This should be fixed so that it works for extlinux as well. Fixes #328
This commit is contained in:
parent
70402229c5
commit
96086329e6
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,8 @@ def resolve_tasks(taskset, manifest):
|
|||
taskset.add(tasks.tuning.SetCloudInitMountOptions)
|
||||
taskset.add(tasks.packages.AddWorkaroundGrowpart)
|
||||
taskset.add(initd.AdjustGrowpartWorkaround)
|
||||
taskset.add(grub.EnableSystemd)
|
||||
if manifest.system['bootloader'] == 'grub':
|
||||
taskset.add(grub.EnableSystemd)
|
||||
|
||||
if manifest.provider.get('install_init_scripts', True):
|
||||
taskset.add(tasks.initd.AddEC2InitScripts)
|
||||
|
|
Loading…
Add table
Reference in a new issue