From 6f1f8fea57f366ad6ac3b6472aa76df497851365 Mon Sep 17 00:00:00 2001 From: Leif Liddy Date: Jan 06 2024 22:32:35 +0000 Subject: align /etc/fstab into columns --- diff --git a/root/etc/fstab.script b/root/etc/fstab.script index 94e99db..4a1a10f 100755 --- a/root/etc/fstab.script +++ b/root/etc/fstab.script @@ -4,6 +4,10 @@ # https://github.com/OSInside/kiwi/issues/2201 gawk -i inplace '$2 == "/boot/efi" { $4 = $4",umask=0077,shortname=winnt" } { print $0 }' /etc/fstab +# Align /etc/fstab into columns +fstab_col=$(column -t /etc/fstab) +echo "$fstab_col" > /etc/fstab + # Run selinux relabel at the right time # https://github.com/OSInside/kiwi/issues/2192 # https://github.com/OSInside/kiwi/pull/2282#issuecomment-1514399308