diff options
Diffstat (limited to 'vmdb/plugins/files_plugin.py')
-rw-r--r-- | vmdb/plugins/files_plugin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vmdb/plugins/files_plugin.py b/vmdb/plugins/files_plugin.py index 772443c..c4b33e9 100644 --- a/vmdb/plugins/files_plugin.py +++ b/vmdb/plugins/files_plugin.py @@ -34,7 +34,7 @@ class CreateFileStepRunner(vmdb.StepRunnerInterface): return ['create-file', 'contents'] def run(self, step, settings, state): - root = state.tags.get_mount_point('/') + root = state.tags.get_builder_mount_point('/') newfile = step['create-file'] contents = step['contents'] perm = step.get('perm', 0o644) @@ -58,7 +58,7 @@ class CopyFileStepRunner(vmdb.StepRunnerInterface): return ['copy-file', 'src'] def run(self, step, settings, state): - root = state.tags.get_mount_point('/') + root = state.tags.get_builder_mount_point('/') newfile = step['copy-file'] src = step['src'] perm = step.get('perm', 0o644) @@ -88,7 +88,7 @@ class CreateDirStepRunner(vmdb.StepRunnerInterface): return ['create-dir'] def run(self, step, settings, state): - root = state.tags.get_mount_point('/') + root = state.tags.get_builder_mount_point('/') newdir = step['create-dir'] path = '/'.join([root, newdir]) perm = step.get('perm', 0o755) |