auto-configure overlays dir
@@ -154,6 +154,8 @@ func (cmd *WorkerCommand) baggageclaimRunner(logger lager.Logger, hasAssets bool
cmd.Baggageclaim.Metrics = cmd.Metrics
cmd.Baggageclaim.VolumesDir = baggageclaimcmd.DirFlag(volumesDir)
+ cmd.Baggageclaim.OverlaysDir = filepath.Join(cmd.WorkDir.Path(), "overlays")
+
if hasAssets {
cmd.Baggageclaim.MkfsBin = cmd.assetPath("btrfs", "mkfs.btrfs")
cmd.Baggageclaim.BtrfsBin = cmd.assetPath("btrfs", "btrfs")
