Type: none
▶ Watch on YouTube (opens in a new tab)
Note
Thenonedevice type is supported for both containers and VMs.A
nonedevice doesn't have any properties and doesn't create anything inside the instance.Its only purpose is to stop inheriting devices that come from profiles. To do so, add a device with the same name as the one that you do not want to inherit, but with the device type
none.You can add this device either in a profile that is applied after the profile that contains the original device, or directly on the instance.
Configuration examples
Add a none device to an instance:
lxc config device add <instance_name> <device_name> noneSee Configure devices for more information.