From 49ea3a98b9425a7269c0f9343c2876ffded26d2c Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 5 Oct 2019 21:09:39 -0500 Subject: More API work --- hscript/script.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'hscript/script.cc') 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 packages; + /*! The root shadow line. */ + std::string rootpw; + /*! Target system's mountpoints. */ + std::vector< std::unique_ptr > mounts; }; Script::Script() { -- cgit v1.2.3-70-g09d2