Add additional missing import in examples

This commit is contained in:
Joshua Boniface 2022-10-05 17:29:34 -04:00
parent da85480488
commit 2c624ceb2c
2 changed files with 6 additions and 0 deletions

View File

@ -255,6 +255,9 @@ class VMBuilderScript(VMBuilder):
block devices and map them to the host.
"""
# Run any imports first
from pvcapid.vmbuilder import open_zk
# First loop: Create the disks, either by cloning (pvc_ceph.clone_volume), or by
# new creation (pvc_ceph.add_volume).
for volume in self.vm_data["volumes"]:

View File

@ -259,6 +259,9 @@ class VMBuilderScript(VMBuilder):
block devices and map them to the host.
"""
# Run any imports first
from pvcapid.vmbuilder import open_zk
# First loop: Create the disks, either by cloning (pvc_ceph.clone_volume), or by
# new creation (pvc_ceph.add_volume).
for volume in self.vm_data["volumes"]: