summaryrefslogtreecommitdiff
path: root/hscript/script.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/script.cc')
-rw-r--r--hscript/script.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/hscript/script.cc b/hscript/script.cc
index fd9fc5a..7d1d4e2 100644
--- a/hscript/script.cc
+++ b/hscript/script.cc
@@ -334,6 +334,8 @@ void Script::setTargetDirectory(const std::string &dir) {
const Keys::Key *Script::getOneValue(std::string name) const {
if(name == "network") {
return this->internal->network.get();
+ } else if(name == "netconfigtype") {
+ return this->internal->netconfig.get();
} else if(name == "hostname") {
return this->internal->hostname.get();
} else if(name == "arch") {