Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

raw.lxc configs for maas-on-lxd may be incorrect minor number #1279

Open
afreiberger opened this issue Jul 10, 2019 · 0 comments
Open

raw.lxc configs for maas-on-lxd may be incorrect minor number #1279

afreiberger opened this issue Jul 10, 2019 · 0 comments

Comments

@afreiberger
Copy link

https://docs.maas.io/2.6/en/installconfig-lxd-install

Under the example config, the major/minor device 10:237 may not be accurate for all kernels. I'm seeing 10:232. This should probably reference checking the maj:min numbers of /dev/kvm and adding that first cgroup.devices.allow rule to reflect the maj:min of /dev/kvm.

config:
raw.lxc: |-
lxc.cgroup.devices.allow = c 10:237 rwm
lxc.apparmor.profile = unconfined
lxc.cgroup.devices.allow = b 7:* rwm
security.privileged: "true"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant