Skip to content

Commit 1785dc2

Browse files
Merge pull request #10640 from andfasano/fix-agent-tui-rhcos10
OCPBUGS-90537: allow agent TUI to be shown also for rhcos10 base ISO
2 parents fec9361 + 8087bb2 commit 1785dc2

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

data/data/agent/systemd/units/agent-interactive-console-serial@.service

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[Unit]
22
Description=Get interactive user configuration at boot on %I
3-
After=dev-fb0.device dev-%i.device network-pre.target NetworkManager.service pre-network-manager-config.service selinux.service agent-extract-tui.service set-hostname.service
3+
After=dev-fb0.device dev-dri-card0.device dev-%i.device network-pre.target NetworkManager.service pre-network-manager-config.service selinux.service agent-extract-tui.service set-hostname.service
44
Before=serial-getty@%i.service network.target network.service agent.service node-zero.service NetworkManager-wait-online.service agent-auth-token-status.service
55
Wants=agent-extract-tui.service
66
ConditionPathExists=/usr/local/bin/agent-tui
77
ConditionPathExists=!/dev/fb0
8+
ConditionPathExistsGlob=!/dev/dri/card*
89
ConditionPathExists=!/etc/assisted/node0
910

1011
[Service]

data/data/agent/systemd/units/agent-interactive-console.service

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[Unit]
22
Description=Get interactive user configuration at boot
3-
After=dev-fb0.device network-pre.target NetworkManager.service pre-network-manager-config.service selinux.service agent-extract-tui.service set-hostname.service
3+
After=dev-fb0.device dev-dri-card0.device network-pre.target NetworkManager.service pre-network-manager-config.service selinux.service agent-extract-tui.service set-hostname.service
44
Before=getty@tty1.service network.target network.service agent.service node-zero.service NetworkManager-wait-online.service agent-auth-token-status.service
55
Wants=agent-extract-tui.service
66
ConditionPathExists=/usr/local/bin/agent-tui
7-
ConditionPathExists=/dev/fb0
7+
ConditionPathExists=|/dev/fb0
8+
ConditionPathExistsGlob=|/dev/dri/card*
89
ConditionPathExists=!/etc/assisted/node0
910

1011
[Service]

0 commit comments

Comments
 (0)