From 81131db1f1298f8662c2af817957fc5794c1611d Mon Sep 17 00:00:00 2001 From: Enno Gotthold Date: Sat, 15 Jun 2024 14:03:33 +0200 Subject: [PATCH] feat(config): tmp --- cobbler/files/default/3.2.0/settings.jinja | 2 +- cobbler/files/default/3.2.1/settings.yaml.jinja | 2 +- cobbler/files/default/3.2.2/settings.yaml.jinja | 2 +- cobbler/files/default/3.3.0/settings.yaml.jinja | 2 +- cobbler/files/default/3.3.1/settings.yaml.jinja | 2 +- cobbler/files/default/3.3.3/settings.yaml.jinja | 2 +- cobbler/files/default/3.3.4/settings.yaml.jinja | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cobbler/files/default/3.2.0/settings.jinja b/cobbler/files/default/3.2.0/settings.jinja index 56ebe7b..82c0350 100644 --- a/cobbler/files/default/3.2.0/settings.jinja +++ b/cobbler/files/default/3.2.0/settings.jinja @@ -45,7 +45,7 @@ default_virt_type: xenpv enable_gpxe: {{ cobbler['bootloaders']['ipxe']['enabled']|int }} enable_menu: {{ cobbler['menu']['enabled']|int }} http_port: 80 -{% if not cobbler.get("default_kernel_options", {}).vars -%} +{% if not cobbler.get("default_kernel_options", {}) -%} kernel_options: {} {% else -%} kernel_options: diff --git a/cobbler/files/default/3.2.1/settings.yaml.jinja b/cobbler/files/default/3.2.1/settings.yaml.jinja index 5e0e9ed..418d6db 100644 --- a/cobbler/files/default/3.2.1/settings.yaml.jinja +++ b/cobbler/files/default/3.2.1/settings.yaml.jinja @@ -45,7 +45,7 @@ default_virt_type: xenpv enable_gpxe: {{ cobbler['bootloaders']['ipxe']['enabled']|yaml_encode }} enable_menu: {{ cobbler['menu']['enabled']|yaml_encode }} http_port: 80 -{% if not cobbler.get("default_kernel_options", {}).vars -%} +{% if not cobbler.get("default_kernel_options", {}) -%} kernel_options: {} {% else -%} kernel_options: diff --git a/cobbler/files/default/3.2.2/settings.yaml.jinja b/cobbler/files/default/3.2.2/settings.yaml.jinja index 78c5434..d0eaa03 100644 --- a/cobbler/files/default/3.2.2/settings.yaml.jinja +++ b/cobbler/files/default/3.2.2/settings.yaml.jinja @@ -45,7 +45,7 @@ default_virt_type: xenpv enable_gpxe: {{ cobbler['bootloaders']['ipxe']['enabled']|yaml_encode }} enable_menu: {{ cobbler['menu']['enabled']|yaml_encode }} http_port: 80 -{% if not cobbler.get("default_kernel_options", {}).vars -%} +{% if not cobbler.get("default_kernel_options", {}) -%} kernel_options: {} {% else -%} kernel_options: diff --git a/cobbler/files/default/3.3.0/settings.yaml.jinja b/cobbler/files/default/3.3.0/settings.yaml.jinja index de38ded..6709b8c 100644 --- a/cobbler/files/default/3.3.0/settings.yaml.jinja +++ b/cobbler/files/default/3.3.0/settings.yaml.jinja @@ -129,7 +129,7 @@ default_virt_type: xenpv enable_ipxe: {{ cobbler['bootloaders']['ipxe']['enabled']|yaml_encode }} enable_menu: {{ cobbler['menu']['enabled']|yaml_encode }} http_port: 80 -{% if not cobbler.get("default_kernel_options", {}).vars -%} +{% if not cobbler.get("default_kernel_options", {}) -%} kernel_options: {} {% else -%} kernel_options: diff --git a/cobbler/files/default/3.3.1/settings.yaml.jinja b/cobbler/files/default/3.3.1/settings.yaml.jinja index 895d339..269eb05 100644 --- a/cobbler/files/default/3.3.1/settings.yaml.jinja +++ b/cobbler/files/default/3.3.1/settings.yaml.jinja @@ -134,7 +134,7 @@ default_virt_type: xenpv enable_ipxe: {{ cobbler['bootloaders']['ipxe']['enabled']|yaml_encode }} enable_menu: {{ cobbler['menu']['enabled']|yaml_encode }} http_port: 80 -{% if not cobbler.get("default_kernel_options", {}).vars -%} +{% if not cobbler.get("default_kernel_options", {}) -%} kernel_options: {} {% else -%} kernel_options: diff --git a/cobbler/files/default/3.3.3/settings.yaml.jinja b/cobbler/files/default/3.3.3/settings.yaml.jinja index cee3bae..c20b960 100644 --- a/cobbler/files/default/3.3.3/settings.yaml.jinja +++ b/cobbler/files/default/3.3.3/settings.yaml.jinja @@ -134,7 +134,7 @@ default_virt_type: xenpv enable_ipxe: {{ cobbler['bootloaders']['ipxe']['enabled']|yaml_encode }} enable_menu: {{ cobbler['menu']['enabled']|yaml_encode }} http_port: 80 -{% if not cobbler.get("default_kernel_options", {}).vars -%} +{% if not cobbler.get("default_kernel_options", {}) -%} kernel_options: {} {% else -%} kernel_options: diff --git a/cobbler/files/default/3.3.4/settings.yaml.jinja b/cobbler/files/default/3.3.4/settings.yaml.jinja index cee3bae..c20b960 100644 --- a/cobbler/files/default/3.3.4/settings.yaml.jinja +++ b/cobbler/files/default/3.3.4/settings.yaml.jinja @@ -134,7 +134,7 @@ default_virt_type: xenpv enable_ipxe: {{ cobbler['bootloaders']['ipxe']['enabled']|yaml_encode }} enable_menu: {{ cobbler['menu']['enabled']|yaml_encode }} http_port: 80 -{% if not cobbler.get("default_kernel_options", {}).vars -%} +{% if not cobbler.get("default_kernel_options", {}) -%} kernel_options: {} {% else -%} kernel_options: