meson: simplify setting of ImdsNetworkMode default

This follows the pattern used for dnssec default mode right above.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-03-26 17:28:21 +01:00
parent ace4f53b67
commit c3e4e8a527
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -15,8 +15,7 @@
static int arg_enabled = -1; /* Whether we shall offer local IMDS APIs */
static bool arg_import = true; /* Whether we shall import IMDS credentials, SSH keys, … into the local system */
static ImdsNetworkMode arg_network_mode =
IMDS_NETWORK_LOCKED_DEFAULT ? IMDS_NETWORK_LOCKED : IMDS_NETWORK_UNLOCKED;
static ImdsNetworkMode arg_network_mode = IMDS_NETWORK_DEFAULT;
static int parse_proc_cmdline_item(const char *key, const char *value, void *data) {
int r;