diff options
Diffstat (limited to 'vmdb/plugins/rootfs_cache_plugin.py')
-rw-r--r-- | vmdb/plugins/rootfs_cache_plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vmdb/plugins/rootfs_cache_plugin.py b/vmdb/plugins/rootfs_cache_plugin.py index 5be833a..ef15b57 100644 --- a/vmdb/plugins/rootfs_cache_plugin.py +++ b/vmdb/plugins/rootfs_cache_plugin.py @@ -48,7 +48,8 @@ class MakeCacheStepRunner(vmdb.StepRunnerInterface): if not os.path.exists(tar_path): vmdb.progress( 'Caching contents of {} to {}'.format(rootdir, tar_path)) - vmdb.runcmd(['tar', '-C', rootdir, '-caf', tar_path, '.']) + vmdb.runcmd(['tar', '-C', rootdir, '--one-file-system', + '-caf', tar_path, '.']) class UnpackCacheStepRunner(vmdb.StepRunnerInterface): |