diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-12-22 11:04:12 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-12-22 11:06:26 -0500 |
commit | 9c7b9ba04c0e6e9e356f0a5be53741617b59ab96 (patch) | |
tree | b4d09330d00f3350c23ad1104beb6e1a7c66eb9b /usr/local | |
parent | f6d4854b25e3fc0f8ba7053ccb616e2b33dbbe3a (diff) | |
download | pfsense-9c7b9ba04c0e6e9e356f0a5be53741617b59ab96.zip pfsense-9c7b9ba04c0e6e9e356f0a5be53741617b59ab96.tar.gz |
Rework how disk definitions are defined per Kris.
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/installer/installer.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/installer/installer.php b/usr/local/www/installer/installer.php index f700424..ffb72b8 100644 --- a/usr/local/www/installer/installer.php +++ b/usr/local/www/installer/installer.php @@ -79,6 +79,9 @@ function write_out_pc_sysinstaller_config($disks, $bootmanager = "bsd") { $lastdisk = $disk; $numdisks++; $diskdefs .= "disk{$numdisks}={$disk}\n"; + $diskdefs .= "partition=all\n"; + $diskdefs .= "bootManager={$bootmanager}\n"; + $diskdefs .= "commitDiskPart\n"; } $diskareas .= "disk{$numdisks}-part={$fstype} {$size} {$mountpoint} \n"; if($encpass) @@ -96,9 +99,6 @@ installMedium=LiveCD # Set the disk parameters {$diskdefs} -partition=all -bootManager={$bootmanager} -commitDiskPart # Setup the disk label # All sizes are expressed in MB |