Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add systemd.log_color=0 to remove ANSI color escapes from console log #836

Merged
merged 1 commit into from
Mar 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/rpm2img
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ set timeout="0"
menuentry "Bottlerocket OS ${VERSION_ID}" {
linux (\$root)/vmlinuz root=/dev/dm-0 rootwait ro init=/sbin/preinit \\
console=tty0 console=ttyS0 random.trust_cpu=on selinux=1 enforcing=1 \\
systemd.log_target=journal-or-kmsg net.ifnames=0 biosdevname=0 \\
dm_verity.max_bios=-1 dm_verity.dev_wait=1 \\
systemd.log_target=journal-or-kmsg systemd.log_color=0 net.ifnames=0 \\
biosdevname=0 dm_verity.max_bios=-1 dm_verity.dev_wait=1 \\
dm-mod.create="root,,,ro,0 $VERITY_DATA_512B_BLOCKS verity $VERITY_VERSION PARTUUID=\$boot_uuid/PARTNROFF=1 PARTUUID=\$boot_uuid/PARTNROFF=2 \\
$VERITY_DATA_BLOCK_SIZE $VERITY_HASH_BLOCK_SIZE $VERITY_DATA_4K_BLOCKS 1 $VERITY_HASH_ALGORITHM $VERITY_ROOT_HASH $VERITY_SALT 1 restart_on_corruption"
}
Expand Down