Changeset 155


Ignore:
Timestamp:
Oct 9, 2007, 3:13:05 PM (17 years ago)
Author:
tabbott
Message:

fix bug in the lvcreate-all script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/usr/sbin/sipb-xen-lvm

    r149 r155  
    5959        machine = Machine.get(d.machine_id)
    6060        check(re.match('^[A-Za-z0-9][A-Za-z0-9._-]*$', machine.name))
    61         lvname = machine.name + "_" + d.guest_device_name
     61        lvname = prefix + machine.name + "_" + d.guest_device_name
    6262        if not os.path.exists("/dev/%s/%s" % (vg, lvname)):
    6363            # LV doesn't exist
Note: See TracChangeset for help on using the changeset viewer.