Skip to content

Commit

Permalink
aii/server/config: configure grub2_efi_kernel_root if AII_EFI_KERNEL_…
Browse files Browse the repository at this point in the history
…ROOT is defined
  • Loading branch information
jouvin committed Dec 17, 2024
1 parent fe6c43b commit 175a25b
Showing 1 changed file with 34 additions and 28 deletions.
62 changes: 34 additions & 28 deletions quattor/aii/server/config.pan
Original file line number Diff line number Diff line change
Expand Up @@ -19,38 +19,44 @@ prefix '/software/components/aiiserver/aii-shellfe';
'cdburl' ?= QUATTOR_PROFILE_URL;

'profile_prefix' ?= if (is_defined(AII_PROFILE_PREFIX) && (length(AII_PROFILE_PREFIX) > 0)) {
AII_PROFILE_PREFIX;
} else {
null;
};
AII_PROFILE_PREFIX;
} else {
null;
};

'profile_format' ?= if ( is_defined(QUATTOR_PROFILE_FORMAT) ) {
QUATTOR_PROFILE_FORMAT;
} else {
null;
};
QUATTOR_PROFILE_FORMAT;
} else {
null;
};

'use_fqdn' ?= if (is_defined(AII_USE_FQDN) ) {
if ( AII_USE_FQDN) {
true;
} else {
false;
};
} else {
null;
};
if ( AII_USE_FQDN) {
true;
} else {
false;
};
} else {
null;
};

'osinstalldir' ?= if ( is_defined(AII_OSINSTALL_DIR) ) {
AII_OSINSTALL_DIR;
} else {
null;
};
AII_OSINSTALL_DIR;
} else {
null;
};

'nbpdir' ?= if ( is_defined(AII_NBP_DIR) ) {
AII_NBP_DIR;
} else {
null;
};
AII_NBP_DIR;
} else {
null;
};

'grub2_efi_kernel_root' ?= if ( is_defined(AII_EFI_KERNEL_ROOT) ) {
AII_EFI_KERNEL_ROOT;
} else {
null;
};



Expand All @@ -61,9 +67,9 @@ prefix '/software/components/aiiserver/aii-dhcp';
'dhcpconf' ?= AII_DHCP_DHCPD_CONF_FILE;

'restartcmd' ?= if ( is_defined(AII_DHCP_RESTART_CMD) ) {
AII_DHCP_RESTART_CMD;
} else {
null;
};
AII_DHCP_RESTART_CMD;
} else {
null;
};

include AII_DHCP_CONFIG_SITE;

0 comments on commit 175a25b

Please sign in to comment.