anchor.diff:      #set $clearpart_drives = []
       #set $physical_volumes = []
       #set $grub_drives = []
  +    #set $custom_grub_drives = []
       #set $partitions = []
       #set $volume_groups = {}
       #set $raid_volumes = {}
  
positive.code:     #set $drives = ",".join($grub_drives)
  echo "bootloader --location=mbr --driveorder=$drives --append=' biosdevname=0 crashkernel=none'" > /tmp/bootloader.ks
      ##
  #end if
  
negative.code:             #end for
              #set $num_spares = $len($raid_volumes[$raid_mount]) - 2
              #set $md_name = "md%d" % $mdnum
  ##            #if $num_spares > 0
  ##echo "raid $raid_mount --device $md_name --spares=$num_spares --fstype ext2 --level=RAID1 $ks_raids" >> /tmp/partition.ks
  ##            #else
  echo "raid $raid_mount --device $md_name --fstype ext2 --level=RAID1 $ks_raids" >> /tmp/partition.ks
  ##            #end if
          #end if
          #set $mdnum += 1
      #end for
  