@alexmurray, totally random observation that is not related to this bug but might save you/others some times. The following 4 steps:
# use a LXD VM for testing
lxc launch --vm images:ubuntu/jammy sec-jammy-amd64
# stop the VM and disable UEFI secure boot
lxc stop sec-jammy-amd64
# ensure secureboot is not used so we can use the msr module later
lxc config set set-jammy-amd64 security.secureboot=false
lxc start sec-jammy-amd64
Can be reduced to:
# use a LXD VM for testing, no secureboot to allow using the msr module later
lxc launch --vm images:ubuntu/jammy sec-jammy-amd64 -c security.secureboot=false
@alexmurray, totally random observation that is not related to this bug but might save you/others some times. The following 4 steps:
# use a LXD VM for testing secureboot= false
lxc launch --vm images:ubuntu/jammy sec-jammy-amd64
# stop the VM and disable UEFI secure boot
lxc stop sec-jammy-amd64
# ensure secureboot is not used so we can use the msr module later
lxc config set set-jammy-amd64 security.
lxc start sec-jammy-amd64
Can be reduced to:
# use a LXD VM for testing, no secureboot to allow using the msr module later secureboot= false
lxc launch --vm images:ubuntu/jammy sec-jammy-amd64 -c security.