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 f2940d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
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
2 changes: 2 additions & 0 deletions test/e2e/e2e_agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ 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")
fmt.Fprintf(GinkgoWriter, "Journal: %v\n", stdout)
stdout, _ = RunCommand(agentIp, "journalctl --no-pager --user -u planner-agent-opa")
fmt.Fprintf(GinkgoWriter, "Journal: %v\n", stdout)
}

func NewPlannerService(configPath string) (*plannerService, error) {
Expand Down

0 comments on commit f2940d5

Please sign in to comment.