anchor.diff:                  #end if
               #end if
               #######################################
  -            ## Configuring raid partitions
  -            #######################################
  -            #if $space_type == "disk" and $volume_type == "raid"
  -                #set $volume_mount = $volume.get("mount")
  -                #set $volume_size = $int($volume.get("size") or 0)
  -                #set $volume_name = "raid.%03d" % $raidnum
  -                #if $volume_size > 0
  -                    $raid_volumes.append("partition %s --size=%s --ondisk=%s" % ($volume_name, $volume_size, $space_id))
  -                    #if not $raid_groups.get($volume_mount)
  -                        #set $raid_groups[$volume_mount] = [$volume_name]
  -                    #else
  -                        $raid_groups[$volume_mount].append($volume_name)
  -                    #end if
  -                    #set $raidnum += 1
  -                #end if
  -            #end if
  -            #######################################
               ## Configuring logical volumes
               #######################################
               #if $space_type == "vg" and $volume_type == "lv"
  
positive.code: echo "$partition" >> /tmp/partition.ks
      #end for
      #######################################
      ## Actual creating physical volumes
      #######################################
      #for $pv in $physical_volumes
  echo "$pv" >> /tmp/partition.ks
      #end for
      #######################################
      ## Actual creating volume groups
      #######################################
      #for $volgroup in $volume_groups.keys()
          #set $ks_pvs = " ".join($volume_groups.get($volgroup))
  echo "volgroup $volgroup $ks_pvs" >> /tmp/partition.ks
      #end for
      #######################################
      ## Actual creating raid volumes
      #######################################
      #for $raid in $raid_volumes
  echo "$raidgroup" >> /tmp/partition.ks
      #end for
      #for $raidmount in $raid_groups.keys()
          #set $ks_raids = " ".join($raid_groups.get($raidmount))
  
negative.code:             #######################################
              ## Configuring not boot partitions
              #######################################
              #if $space_type == "disk" and $volume_type == "boot"
                  ## Create and mark Bios Boot partition to which grub will
                  ## embed its code later, useable for legacy boot.
                  ## May be way smaller, but be aware that the parted may
  