Skip to content

Commit

Permalink
Enable lingering
Browse files Browse the repository at this point in the history
Signed-off-by: Ondra Machacek <[email protected]>
  • Loading branch information
machacekondra committed Nov 26, 2024
1 parent 439c179 commit f508256
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions data/ignition.template
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ storage:
location = "{{.InsecureRegistry}}"
insecure = true
{{end}}
- path: /var/lib/systemd/linger/core
mode: 0644
contents:
inline: ""
- path: /etc/ssh/sshd_config.d/40-rhcos-defaults.conf
overwrite: true
contents:
Expand Down
4 changes: 3 additions & 1 deletion test/e2e/e2e_agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ func (p *plannerAgentLibvirt) IsServiceRunning(agentIp string, service string) b
}

func (p *plannerAgentLibvirt) DumpLogs(agentIp string) {
stdout, _ := RunCommand(agentIp, "journalctl --no-pager --user -u planner-agent")
//stdout, _ := RunCommand(agentIp, "journalctl --no-pager --user -u planner-agent")
//fmt.Fprintf(GinkgoWriter, "Journal: %v\n", stdout)
stdout, _ := RunCommand(agentIp, "journalctl --no-pager")
fmt.Fprintf(GinkgoWriter, "Journal: %v\n", stdout)
}

Expand Down

0 comments on commit f508256

Please sign in to comment.