summaryrefslogtreecommitdiff
path: root/hscript/script.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/script.cc')
-rw-r--r--hscript/script.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/hscript/script.cc b/hscript/script.cc
index cd15089..b913057 100644
--- a/hscript/script.cc
+++ b/hscript/script.cc
@@ -876,7 +876,14 @@ bool Script::execute() const {
}
}
- /* disklabel */
+ /* REQ: Runner.Execute.disklabel */
+ for(auto &label : this->internal->disklabels) {
+ if(!label->execute(opts)) {
+ EXECUTE_FAILURE("disk");
+ return false;
+ }
+ }
+
/* partition */
/* encrypt PVs */
/* lvm_pv */