Skip to content

Commit

Permalink
Merge pull request #1352 from stgraber/main
Browse files Browse the repository at this point in the history
incusd/instance/lxc: Fix LXCFS per-instance path
  • Loading branch information
hallyn authored Nov 5, 2024
2 parents 0282a23 + 91ee242 commit baa2fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/instance/drivers/driver_lxc.go
Original file line number Diff line number Diff line change
Expand Up @@ -2496,7 +2496,7 @@ ff02::2 ip6-allrouters
continue
}

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

0 comments on commit baa2fad

Please sign in to comment.