confidential-containers / guest-components

Confidential Containers Guest Tools and Components
Apache License 2.0
81 stars 89 forks source link

CDH: fix aa_kbc_params and config reading #596

Closed Xynnn007 closed 3 months ago

Xynnn007 commented 3 months ago

CDH should firstly read config specified with commandline, and then env.

aa_kbc_param should be firstly read directly from CDH's config file. If there is no config file, try to read from env and then kernel cmdline. If still no values found, use a default one with offline_fs_kbc.

Close #593

cc @huoqifeng @mkulke

Xynnn007 commented 3 months ago

Hi @stevenhorsman , I think this could fix the issue in slack channel.