@@ 54,9 54,9 @@ setup() {
mount /dev/vda1 "${imgroot}/boot"
mkdir "${imgroot}/etc"
opts=$(findmnt -no OPTIONS /dev/vda2)
- printf "UUID=%s\t/\t%s\t%s\t0 1\n" "${uuidr}" "ext4" "${opts}" > "${imgroot}/etc/fstab"
+ echo "UUID=$uuidr / ext4 $opts 0 1" > "${imgroot}/etc/fstab"
opts=$(findmnt -no OPTIONS /dev/vda1)
- printf "UUID=%s\t/boot\t%s\t%s\t0 2\n" "${uuidb}" "ext2" "${opts},noauto" >> "${imgroot}/etc/fstab"
+ echo "UUID=$uuidb /boot ext2 $opts,noauto 0 2" >> "${imgroot}/etc/fstab"
}
cleanup() {