Skip to content

Commit baa2fad

Browse files
authored
Merge pull request #1352 from stgraber/main
incusd/instance/lxc: Fix LXCFS per-instance path
2 parents 0282a23 + 91ee242 commit baa2fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/server/instance/drivers/driver_lxc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2496,7 +2496,7 @@ ff02::2 ip6-allrouters
24962496
continue
24972497
}
24982498

2499-
err = lxcSetConfigItem(cc, "lxc.hook.pre-mount", fmt.Sprintf("mount -o bind %s /var/lib/incus-lxcfs/", filepath.Join(d.DevicesPath(), "lxcfs")))
2499+
err = lxcSetConfigItem(cc, "lxc.hook.pre-mount", fmt.Sprintf("mount -o bind %s %s/", filepath.Join(d.DevicesPath(), "lxcfs"), entry))
25002500
if err != nil {
25012501
return "", nil, err
25022502
}

0 commit comments

Comments
 (0)