1
0
mirror of https://github.com/hukl/freebsd-toolbox.git synced 2025-11-20 03:08:43 +01:00

Update zfs_bootstrap.sh

This commit is contained in:
John-Paul Bader
2014-05-02 23:11:36 +02:00
parent f5c7183b34
commit b8cb9fa0d2

View File

@ -91,7 +91,7 @@ done
cp /var/tmp/zpool.cache /mnt/boot/zfs/
cat > /etc/rc.conf << RCCONF
cat > /mnt/etc/rc.conf << RCCONF
hostname="my.host.name"
zfs_enable="YES"
@ -107,14 +107,14 @@ sshd_enable="YES"
RCCONF
cat > /etc/fstab << FSTAB
cat > /mnt/etc/fstab << FSTAB
# Device Mountpoint FStype Options Dump Pass#
/dev/gpt/swap0 none swap sw 0 0
/dev/gpt/swap1 none swap sw 0 0
FSTAB
cat > /boot/loader.conf << LOADER
cat > /mnt/boot/loader.conf << LOADER
zfs_load="YES"
vfs.root.mountfrom="zfs:tank"
vfs.zfs.arc_max="16G"