anchor.diff:      #set $partitions = []
       #set $volume_groups = {}
       #set $logical_volumes = []
  +    #set $post_logical_volumes = []
       #set $pvnum = 0
       ##
       #for $space in $spaces
  
positive.code:     #if $clearpart_drives
          #set $clearpart_drives_string = ','.join(list($clearpart_drives))
  echo "clearpart --initlabel --all --drives=$clearpart_drives_string" >> /tmp/partition.ks
      #end if
      ##
      ## Creating bare partitions
  
negative.code: echo "$lv" >> /tmp/partition.ks
      #end for
      ##
      ## Creating logical volumes in %post section
  echo "%post --nochroot" > /tmp/post_partition.ks
      #for $lv in $post_logical_volumes
  echo "$lv" >> /tmp/post_partition.ks
      #end for
      ##
      ##
  #end if
  