diff --git a/WindowsAgent/WindowsAgent/App.config b/WindowsAgent/WindowsAgent/App.config
index 2c1d906..3df6972 100644
--- a/WindowsAgent/WindowsAgent/App.config
+++ b/WindowsAgent/WindowsAgent/App.config
@@ -18,4 +18,13 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WindowsAgent/WindowsAgent/ExecutionPlan.cs b/WindowsAgent/WindowsAgent/ExecutionPlan.cs
index 9c0be86..899c5cc 100644
--- a/WindowsAgent/WindowsAgent/ExecutionPlan.cs
+++ b/WindowsAgent/WindowsAgent/ExecutionPlan.cs
@@ -16,5 +16,6 @@ namespace Mirantis.Keero.WindowsAgent
public string[] Scripts { get; set; }
public LinkedList Commands { get; set; }
+ public int RebootOnCompletion { get; set; }
}
}
diff --git a/WindowsAgent/WindowsAgent/PlanExecutor.cs b/WindowsAgent/WindowsAgent/PlanExecutor.cs
index 7baab0b..ad4910c 100644
--- a/WindowsAgent/WindowsAgent/PlanExecutor.cs
+++ b/WindowsAgent/WindowsAgent/PlanExecutor.cs
@@ -24,20 +24,23 @@ namespace Mirantis.Keero.WindowsAgent
this.path = path;
}
+ public bool RebootNeeded { get; set; }
+
public string Execute()
{
+ RebootNeeded = false;
try
{
var plan = JsonConvert.DeserializeObject(File.ReadAllText(this.path));
var resultPath = this.path + ".result";
- List