[PC-BSD Commits] r2570 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts
svn at pcbsd.org
svn at pcbsd.org
Fri Aug 8 16:30:22 PDT 2008
Author: kris
Date: 2008-08-08 16:30:22 -0700 (Fri, 08 Aug 2008)
New Revision: 2570
Modified:
pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
Log:
Simple fix to allow multiple ZFS partitions to be used, without generating errors at first boot about running on a different system.
Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh 2008-08-08 21:39:34 UTC (rev 2569)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh 2008-08-08 23:30:22 UTC (rev 2570)
@@ -159,6 +159,9 @@
# Enable zfs in /etc/rc.conf
echo 'zfs_enable="YES"' >> ${FSMNT}/etc/rc.conf
+ # Copy over the /etc/hostid from our install CD to the HD
+ cp /etc/hostid ${FSMNT}/etc/hostid
+
# Move the kernel to /bootdir so we can bootup properly
mv -f ${FSMNT}/boot ${FSMNT}/bootdir/
More information about the Commits
mailing list