CanonicalLtd / maas-docs

Documentation for MAAS
https://docs.maas.io
Creative Commons Attribution Share Alike 4.0 International
26 stars 45 forks source link

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

Open afreiberger opened 5 years ago

afreiberger commented 5 years ago

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"