Beispiel #1
0
def temp_lvm_device(driver, volume):
    with temp_raw_device(driver, volume):
        vg = driver._get_lvm_vg(volume)
        vg.activate_vg()

        yield vg
Beispiel #2
0
def temp_lvm_device(driver, volume):
    with temp_raw_device(driver, volume):
        vg = driver._get_lvm_vg(volume)
        vg.activate_vg()

        yield vg