fstype = 'ext3' if vars['virt']=='vs' else 'btrfs'
 
-    one_partition = vars['ROOT_SIZE']=='-1'
+    one_partition = vars['ONE_PARTITION']=='1'
 
     if (not one_partition):
         log.write( "mounting vserver partition in root file system (type %s)\n"%fstype )
 
     utils.sysexec( "lvcreate -L%s -nswap planetlab" % SWAP_SIZE, log )
 
     # check if we want a separate partition for VMs
-    one_partition = (ROOT_SIZE == "-1")
+    one_partition = vars['ONE_PARTITION']=='1'
     if (one_partition):
         remaining_extents= get_remaining_extents_on_vg( vars, log )
         utils.sysexec( "lvcreate -l%s -nroot planetlab" % remaining_extents, log )