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 <[email protected]>
  • Loading branch information
nodeg committed Sep 10, 2024
1 parent b803e95 commit 8574907
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions backend_modules/libvirt/host/combustion
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ 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)
Expand Down Expand Up @@ -163,6 +163,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 8574907

Please sign in to comment.