diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-03-18 21:34:25 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-03-18 21:34:25 -0500 |
commit | f04b3f589d7800653b9fb3ad08131f4edd2e2828 (patch) | |
tree | 1b18c37b79fa0c7a1d67dee441bcef51ece0cb0c /hscript/script.cc | |
parent | bbe669b761db4cb03fca2dbf9a7890d5a7e120af (diff) | |
download | horizon-f04b3f589d7800653b9fb3ad08131f4edd2e2828.tar.gz horizon-f04b3f589d7800653b9fb3ad08131f4edd2e2828.tar.bz2 horizon-f04b3f589d7800653b9fb3ad08131f4edd2e2828.tar.xz horizon-f04b3f589d7800653b9fb3ad08131f4edd2e2828.zip |
hscript: Support creation of /etc/network/interfaces
Diffstat (limited to 'hscript/script.cc')
-rw-r--r-- | hscript/script.cc | 2 |
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") { |