diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-02 16:34:09 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-02 16:34:09 -0500 |
commit | 21ef748c92c10d10d670cd89655ff0b022069b60 (patch) | |
tree | 3efd32bf2be77236f7b02d7ccfbc77c6f41752a8 /hscript/meta.cc | |
parent | 9f422751407f2d100080a0075f8b2293b5a080bd (diff) | |
download | horizon-21ef748c92c10d10d670cd89655ff0b022069b60.tar.gz horizon-21ef748c92c10d10d670cd89655ff0b022069b60.tar.bz2 horizon-21ef748c92c10d10d670cd89655ff0b022069b60.tar.xz horizon-21ef748c92c10d10d670cd89655ff0b022069b60.zip |
hscript: More logging and dir creation
Diffstat (limited to 'hscript/meta.cc')
-rw-r--r-- | hscript/meta.cc | 1 |
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; } |