From f04b3f589d7800653b9fb3ad08131f4edd2e2828 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 18 Mar 2020 21:34:25 -0500 Subject: hscript: Support creation of /etc/network/interfaces --- hscript/script.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hscript/script.cc') 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") { -- cgit v1.2.3-70-g09d2