summaryrefslogtreecommitdiff
path: root/hscript/script.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-03-24 08:53:46 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-03-24 08:53:46 -0500
commitaf4440337fa03df944afce3a6e0de8f277d15216 (patch)
tree41cd9fc874964460578ef9e2e9bb4a7fef4fad21 /hscript/script.hh
parentf72d30cf04308309bee4728fabb3e746236b2a98 (diff)
downloadhorizon-af4440337fa03df944afce3a6e0de8f277d15216.tar.gz
horizon-af4440337fa03df944afce3a6e0de8f277d15216.tar.bz2
horizon-af4440337fa03df944afce3a6e0de8f277d15216.tar.xz
horizon-af4440337fa03df944afce3a6e0de8f277d15216.zip
hscript: Implement 'Image' script option
This option is for generating images using Horizon. It skips most disk-related operations, except for preparing /etc/fstab. It also skips setting the running system's hostname.
Diffstat (limited to 'hscript/script.hh')
-rw-r--r--hscript/script.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/hscript/script.hh b/hscript/script.hh
index 31e486d..5cb6db2 100644
--- a/hscript/script.hh
+++ b/hscript/script.hh
@@ -41,6 +41,8 @@ enum ScriptOptionFlags {
Pretty,
/*! Just print commands that would be run, for testing/debug */
Simulate,
+ /*! Installing to an image; don't mount anything */
+ Image,
/*! Count of flags */
NumFlags
};