Ubuntu: Use vi rather than a big cat
This seems more user-friendly. I already eliminated the others.
parent
8d3a05a5c1
commit
c9a11f1d79
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue