Ubuntu: Use vi rather than a big cat

This seems more user-friendly.  I already eliminated the others.
Richard Laager 2019-04-10 08:58:05 -05:00
parent 8d3a05a5c1
commit c9a11f1d79
1 changed files with 2 additions and 2 deletions

@ -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. 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] [Unit]
DefaultDependencies=no DefaultDependencies=no
Before=zfs-import-scan.service Before=zfs-import-scan.service
@ -360,7 +360,7 @@ This ensures that `bpool` is always imported, regardless of whether `/etc/zfs/zp
[Install] [Install]
WantedBy=zfs-import.target WantedBy=zfs-import.target
EOF
# systemctl enable zfs-import-bpool.service # systemctl enable zfs-import-bpool.service
``` ```