summaryrefslogtreecommitdiff
path: root/hscript/meta.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/meta.cc')
-rw-r--r--hscript/meta.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/hscript/meta.cc b/hscript/meta.cc
index 55316ac..ad39083 100644
--- a/hscript/meta.cc
+++ b/hscript/meta.cc
@@ -130,6 +130,7 @@ bool Hostname::execute(ScriptOptions opts) const {
output_info("installfile:" + std::to_string(this->lineno()),
"hostname: set domain name '" + domain + "'");
if(opts.test(Simulate)) {
+ std::cout << "mkdir -p /target/etc/conf.d" << std::endl;
std::cout << "printf 'dns_domain_lo=\"" << domain
<< "\"\\" << "n' >> /target/etc/conf.d/net" << std::endl;
}