From 6e8072621e99e1d69d422f313cf6999babf9d150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Fri, 19 Sep 2025 08:58:56 -0400 Subject: [PATCH] wip --- bootc/scenario3a/root/usr/local/bin/bootstrap-vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootc/scenario3a/root/usr/local/bin/bootstrap-vm.sh b/bootc/scenario3a/root/usr/local/bin/bootstrap-vm.sh index c6446ce..6ffb57d 100755 --- a/bootc/scenario3a/root/usr/local/bin/bootstrap-vm.sh +++ b/bootc/scenario3a/root/usr/local/bin/bootstrap-vm.sh @@ -63,7 +63,7 @@ chcon system_u:object_r:virt_image_t:s0 "$temp_dir/root.qcow2" if [ -f /etc/flightctl/config.yaml ]; then if [ -n "${FLIGHTCTL_LABELS_OVERRIDE:-}" ]; then echo "Overriding default labels with: ${FLIGHTCTL_LABELS_OVERRIDE}" - yq e ". * { \"default-labels\": ${FLIGHTCTL_LABELS_OVERRIDE} }" /etc/flightctl/config.yaml > "$temp_dir/config.yaml" + yq e ". * { \"default-labels\": ${FLIGHTCTL_LABELS_OVERRIDE} } | .default-labels.aap-group = ((.default-labels.site + \"_\" + .default-labels.type) | sub(\"-\", \"_\"))" /etc/flightctl/config.yaml > "$temp_dir/config.yaml" else cp /etc/flightctl/config.yaml "$temp_dir/config.yaml" fi