Open simondeziel opened 3 months ago
I am now unsure about the implication of my suggested behavior change. If we make device override
fallback to device set
, then what's the point of using device set
ever?
I don't fully understand the rational for having both device override
and device set
so it was likely premature for me to fill out an issue for it :/
Yes this does raise some interesting scenarios, like what if the device type is different in the instance than the device being overridden from the profile.
Lets hold off on this one for now.
This works:
But when a specific storage pool is specified during
init
, thedevice override
no longer works,device set
needs to be used instead:While that makes sense from an instance config point of view:
The workaround is to use
device set
(lxc config device set v1 root size=50GiB
) but the user experience could be improved by allowingdevice override
fallback to being adevice set
.