diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-04-01 00:02:47 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-04-01 00:02:47 -0500 |
commit | 46c492ffad6f6de35e5e01fa1bff8a49c16fd682 (patch) | |
tree | 2cc0492b50c34fd964ed5b482c8a78a623538ac1 /hscript/meta.cc | |
parent | f52594db361ee4c269bff7d303412c5521324d1d (diff) | |
download | horizon-46c492ffad6f6de35e5e01fa1bff8a49c16fd682.tar.gz horizon-46c492ffad6f6de35e5e01fa1bff8a49c16fd682.tar.bz2 horizon-46c492ffad6f6de35e5e01fa1bff8a49c16fd682.tar.xz horizon-46c492ffad6f6de35e5e01fa1bff8a49c16fd682.zip |
hscript: Rename Image flag to ImageOnly
Otherwise, this conflicts with the Horizon::Image namespace.
Diffstat (limited to 'hscript/meta.cc')
-rw-r--r-- | hscript/meta.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/meta.cc b/hscript/meta.cc index e0c2b52..e419cde 100644 --- a/hscript/meta.cc +++ b/hscript/meta.cc @@ -95,7 +95,7 @@ bool Hostname::execute() const { std::cout << "hostname " << actual << std::endl; } #ifdef HAS_INSTALL_ENV - else if(script->options().test(Image)) { + else if(script->options().test(ImageOnly)) { /* no-op; we don't want to set the image builder's hostname */ } else { if(sethostname(actual.c_str(), actual.size()) == -1) { |