diff options
author | Andrew J. Hesford <ajh@sideband.org> | 2021-05-18 15:55:45 -0400 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2021-05-18 22:47:38 +0200 |
commit | 42065ebfb6e886efd9d98f11013494fe1125f14d (patch) | |
tree | a39f452538ff6e87dd0aea34b715a174985f8382 /mkhrmpf.sh | |
parent | 79c2c60e4fff2ab9716db7b5fc8056731624e942 (diff) | |
download | hrmpf-42065ebfb6e886efd9d98f11013494fe1125f14d.tar.gz hrmpf-42065ebfb6e886efd9d98f11013494fe1125f14d.tar.xz hrmpf-42065ebfb6e886efd9d98f11013494fe1125f14d.zip |
prevent automatic zpool imports
Diffstat (limited to 'mkhrmpf.sh')
-rwxr-xr-x | mkhrmpf.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mkhrmpf.sh b/mkhrmpf.sh index 8e6a852..90a4362 100755 --- a/mkhrmpf.sh +++ b/mkhrmpf.sh @@ -1,5 +1,9 @@ #!/bin/sh +# Create an empty zpool.cache to prevent importing at boot +mkdir -p hrmpf-include/etc/zfs +: > hrmpf-include/etc/zfs/zpool.cache + ./mklive.sh \ -T "hrmpf live/rescue system" \ -C "loglevel=6 printk.time=1 consoleblank=0 net.ifnames=0" \ @@ -14,3 +18,4 @@ -B extra/grub2.iso \ -p "$(grep '^[^#].' hrmpf.packages)" \ -A "gawk tnftp inetutils-hostname libressl-netcat dash vim-common" \ + -I hrmpf-include \ |