Fix bad ref in example scripts
This commit is contained in:
parent
20d436a745
commit
8135426973
|
@ -473,7 +473,7 @@ class VMBuilderScript(VMBuilder):
|
||||||
]
|
]
|
||||||
|
|
||||||
# We need to know our root disk for later GRUB-ing
|
# We need to know our root disk for later GRUB-ing
|
||||||
root_disk = None
|
root_volume = None
|
||||||
for volume in volumes:
|
for volume in volumes:
|
||||||
if volume["mountpoint"] == "/":
|
if volume["mountpoint"] == "/":
|
||||||
root_volume = volume
|
root_volume = volume
|
||||||
|
|
|
@ -487,7 +487,7 @@ class VMBuilderScript(VMBuilder):
|
||||||
post_packages = ["cloud-init"]
|
post_packages = ["cloud-init"]
|
||||||
|
|
||||||
# We need to know our root disk for later GRUB-ing
|
# We need to know our root disk for later GRUB-ing
|
||||||
root_disk = None
|
root_volume = None
|
||||||
for volume in volumes:
|
for volume in volumes:
|
||||||
if volume["mountpoint"] == "/":
|
if volume["mountpoint"] == "/":
|
||||||
root_volume = volume
|
root_volume = volume
|
||||||
|
|
Loading…
Reference in New Issue