[Fai-commit] r4619 - people/michael/features/setup_harddisks_2/implementation
michael-guest at alioth.debian.org
michael-guest at alioth.debian.org
Tue Oct 9 19:39:29 UTC 2007
Author: michael-guest
Date: 2007-10-09 19:39:29 +0000 (Tue, 09 Oct 2007)
New Revision: 4619
Modified:
people/michael/features/setup_harddisks_2/implementation/shdd2-volumes
Log:
%FAI::configs uses PHY_$disk as the key, not $disk
Modified: people/michael/features/setup_harddisks_2/implementation/shdd2-volumes
===================================================================
--- people/michael/features/setup_harddisks_2/implementation/shdd2-volumes 2007-10-09 19:12:05 UTC (rev 4618)
+++ people/michael/features/setup_harddisks_2/implementation/shdd2-volumes 2007-10-09 19:39:29 UTC (rev 4619)
@@ -82,7 +82,7 @@
{
# if there is no disk configuration, write an msdos disklabel
- if ( !defined( $FAI::configs{$disk}{"disklabel"} ) )
+ if ( !defined( $FAI::configs{"PHY_$disk"}{"disklabel"} ) )
{
# write the disk label as configured
@@ -97,7 +97,7 @@
$error =
&FAI::execute_command( $FAI::system_commands{"parted"}
. " $disk mklabel "
- . $FAI::configs{$disk}{"disklabel"} );
+ . $FAI::configs{"PHY_$disk"}{"disklabel"} );
}
# set no_dry_run to perform read-only commands always
More information about the Fai-commit
mailing list