From c9a11f1d793bf26b39dbfb87486ababa113aa26e Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Wed, 10 Apr 2019 08:58:05 -0500 Subject: [PATCH] Ubuntu: Use vi rather than a big cat This seems more user-friendly. I already eliminated the others. --- Ubuntu-18.04-Root-on-ZFS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ubuntu-18.04-Root-on-ZFS.md b/Ubuntu-18.04-Root-on-ZFS.md index d0fa2cf..5051702 100644 --- a/Ubuntu-18.04-Root-on-ZFS.md +++ b/Ubuntu-18.04-Root-on-ZFS.md @@ -347,7 +347,7 @@ Install GRUB to the disk(s), not the partition(s). This ensures that `bpool` is always imported, regardless of whether `/etc/zfs/zpool.cache` exists, whether it is in the cachefile or not, or whether `zfs-import-scan.service` is enabled. ``` - # cat >> /etc/systemd/system/zfs-import-bpool.service << EOF + # vi /etc/systemd/system/zfs-import-bpool.service [Unit] DefaultDependencies=no Before=zfs-import-scan.service @@ -360,7 +360,7 @@ This ensures that `bpool` is always imported, regardless of whether `/etc/zfs/zp [Install] WantedBy=zfs-import.target -EOF + # systemctl enable zfs-import-bpool.service ```