Skip to content

Commit

Permalink
Output goes to /var/log
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Gedon <dominik.gedon@suse.com>
  • Loading branch information
nodeg committed Sep 10, 2024
1 parent b803e95 commit 5207de3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions backend_modules/libvirt/host/combustion
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ fi
%{ endif }

# Redirect output to the console
exec > >(exec tee -a /dev/tty0) 2>&1
exec > >(exec tee -a /var/log/combustion) 2>&1

%{ if image == "leapmicro55o" }
# Name the Network Manager connections (final phase on real filesystem)
nm_config 1 eth0 auto
nm_config 2 eth1 manual
%{ endif }

%{ if image == "slemicro54-ign" }
%{ if testsuite }
Expand Down Expand Up @@ -163,6 +164,3 @@ zypper --non-interactive install $PACKAGES

# Leave a marker
echo "Configured with combustion" > /etc/issue.d/combustion

# Close outputs and wait for tee to finish.
exec 1>&- 2>&-; wait;

0 comments on commit 5207de3

Please sign in to comment.