summaryrefslogtreecommitdiff
path: root/hscript/script.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-05 21:09:39 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-05 21:09:39 -0500
commit49ea3a98b9425a7269c0f9343c2876ffded26d2c (patch)
treef794a0ec75c6df33c8b5db40e4e474bf6c3a61bd /hscript/script.cc
parentc0512bf3c20c8849670b0cf577d8118976ec0697 (diff)
downloadhorizon-49ea3a98b9425a7269c0f9343c2876ffded26d2c.tar.gz
horizon-49ea3a98b9425a7269c0f9343c2876ffded26d2c.tar.bz2
horizon-49ea3a98b9425a7269c0f9343c2876ffded26d2c.tar.xz
horizon-49ea3a98b9425a7269c0f9343c2876ffded26d2c.zip
More API work
Diffstat (limited to 'hscript/script.cc')
-rw-r--r--hscript/script.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/hscript/script.cc b/hscript/script.cc
index 98c451d..72f9dd8 100644
--- a/hscript/script.cc
+++ b/hscript/script.cc
@@ -11,10 +11,21 @@
*/
#include "script.hh"
+#include "disk.hh"
namespace Horizon {
struct Script::ScriptPrivate {
+ /*! Determines whether or not to enable networking. */
+ bool network;
+ /*! The target system's hostname. */
+ std::string hostname;
+ /*! The packages to install to the target system. */
+ std::vector<std::string> packages;
+ /*! The root shadow line. */
+ std::string rootpw;
+ /*! Target system's mountpoints. */
+ std::vector< std::unique_ptr<Horizon::Keys::Mount> > mounts;
};
Script::Script() {