mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Bug fix sed plugin, remove debug from tasks.py.
This commit is contained in:
parent
8582edbf7a
commit
8a215afac2
2 changed files with 1 additions and 6 deletions
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
def tasks(tasklist, manifest):
|
def tasks(tasklist, manifest):
|
||||||
import tasks
|
import tasks
|
||||||
tasklist.add(tasks.DoSeds())
|
tasklist.add(tasks.DoSeds)
|
||||||
|
|
||||||
|
|
||||||
def validate_manifest(data, schema_validate):
|
def validate_manifest(data, schema_validate):
|
||||||
from os import path
|
from os import path
|
||||||
|
|
|
@ -12,8 +12,4 @@ class DoSeds(Task):
|
||||||
def run(self, info):
|
def run(self, info):
|
||||||
|
|
||||||
chroot_path = os.path.join(info.root, info.manifest.plugins['sed']['file'])
|
chroot_path = os.path.join(info.root, info.manifest.plugins['sed']['file'])
|
||||||
print chroot_path
|
|
||||||
print info.manifest.plugins['sed']['file']
|
|
||||||
print info.manifest.plugins['sed']['find']
|
|
||||||
print info.manifest.plugins['sed']['replace']
|
|
||||||
sed_i(chroot_path, info.manifest.plugins['sed']['find'], info.manifest.plugins['sed']['replace'])
|
sed_i(chroot_path, info.manifest.plugins['sed']['find'], info.manifest.plugins['sed']['replace'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue