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/disk.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/disk.cc')
-rw-r--r-- | hscript/disk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hscript/disk.cc b/hscript/disk.cc index b0608b3..049410e 100644 --- a/hscript/disk.cc +++ b/hscript/disk.cc @@ -792,7 +792,7 @@ bool Mount::execute() const { #endif /* We have to get the filesystem for the node. */ - if(script->options().test(Simulate) || script->options().test(Image)) { + if(script->options().test(Simulate) || script->options().test(ImageOnly)) { fstype = "auto"; } #ifdef HAS_INSTALL_ENV @@ -818,7 +818,7 @@ bool Mount::execute() const { std::cout << this->device() << " " << actual_mount << std::endl; } #ifdef HAS_INSTALL_ENV - else if(script->options().test(Image)) { + else if(script->options().test(ImageOnly)) { /* no-op; we don't mount during image creation (but we want fstab) */ } else { |