Skip to content

Commit

Permalink
modify parameter names and create Deploy nuc Drivers blueprint
Browse files Browse the repository at this point in the history
  • Loading branch information
Default User committed Nov 22, 2023
1 parent b4e96e5 commit 4b3dc9b
Show file tree
Hide file tree
Showing 48 changed files with 631 additions and 97 deletions.
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,18 @@ This Project contains the following Blueprints.



### PiKVM Set Boot Order


### Build Linux Machine with PiKVM


### Build Windows Machine with PiKVM


### Deploy nuc Drivers to a Drop Directory


### PiKVM Set Boot Order





Expand All @@ -71,14 +74,14 @@ This Project contains the following Blueprints.

| Name | Type | Script Reference | Comment |
| ---- | ---- | ---------------- | ------- |
| Kickstart Worker Linux User | Linux/Unix Credential | `kickstartworkerlinuxuser` | The user on a linux device used to connect to another device or perform tasks. This could be the device that Attune is running on. |
| PiKVM User: Admin | Linux/Unix Credential | `pikvmuseradmin` | The PiKVM Admin user. |
| Kickstarted Node | Basic Node | `kickstartednode` | The node being kickstarted. |
| Automation Worker Base Directory | Text | `automationworkerbasedirectory` | Directory for storing automation files. |
| Automation Worker Linux Node | Linux/Unix Node | `automationworkerlinuxnode` | A linux device used to connect to another device or perform tasks. This could be the device that Attune is running on. |
| Automation Worker Linux User | Linux/Unix Credential | `automationworkerlinuxuser` | The user on a linux device used to connect to another device or perform tasks. This could be the device that Attune is running on. |
| Automation Worker Windows Node | Windows Node | `automationworkerwindowsnode` | The node being kickstarted. This parameter is for Windows specific Steps. |
| New Node | Basic Node | `newnode` | The node being kickstarted. |
| PiKVM IP Address | Text | `pikvmipaddress` | The IP Address of the PiKVM. |
| Kickstarted Windows Node | Windows Node | `kickstartedwindowsnode` | The node being kickstarted. This parameter is for Windows specific Steps. |
| Kickstart Worker Linux Node | Linux/Unix Node | `kickstartworkerlinuxnode` | A linux device used to connect to another device or perform tasks. This could be the device that Attune is running on. |
| Kickstarted Windows User | Windows Credential | `kickstartedwindowsuser` | The user for the node being kickstarted. This parameter is for Windows specific Steps. |
| Kickstart Worker Base Dir | Text | `kickstartworkerbasedir` | Directory for storing kickstart files, eg: "/home/attune/kickstart". |
| PiKVM User: Admin | Linux/Unix Credential | `pikvmuseradmin` | The PiKVM Admin user. |
| New Node Windows User | Windows Credential | `newnodewindowsuser` | The user for the node being kickstarted. This parameter is for Windows specific Steps. |



Expand All @@ -87,6 +90,7 @@ This Project contains the following Blueprints.

| Name | Type | Comment |
| ---- | ---- | ------- |
| nuc Drivers | Large Archives | |



Expand Down
16 changes: 8 additions & 8 deletions docs/Build-Linux-Machine-with-PiKVM.html
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ <h4 id="testpikvmauthentication">
</div>
<div class="row py-1">
<code class="language-sql">
ssh {kickstartworkerlinuxuser}@{kickstartworkerlinuxnode}
ssh {automationworkerlinuxuser}@{automationworkerlinuxnode}
</code>
</div>

Expand Down Expand Up @@ -940,7 +940,7 @@ <h4 id="removemsdimage">
--request POST \
--header X-KVMD-User:{pikvmUserAdmin.user} \
--header X-KVMD-Passwd:{pikvmUserAdmin.password} \
https://{pikvmIpAddress}/api/msd/remove?image=kickstart_{kickstartedNode.fqn}.iso
https://{pikvmIpAddress}/api/msd/remove?image=kickstart_{newNode.fqn}.iso
</code>
</pre>
</div>
Expand Down Expand Up @@ -994,14 +994,14 @@ <h4 id="uploadmsdimage">
<div class="col px-0">
<pre>
<code class="language-sql py-0">
cd {kickstartWorkerBaseDir}
cd {automationWorkerBaseDirectory}

curl --insecure \
--request POST \
--data-binary @kickstart_{kickstartedNode.fqn}.iso \
--data-binary @kickstart_{newNode.fqn}.iso \
--header X-KVMD-User:{pikvmUserAdmin.user} \
--header X-KVMD-Passwd:{pikvmUserAdmin.password} \
https://{pikvmIpAddress}/api/msd/write?image=kickstart_{kickstartedNode.fqn}.iso
https://{pikvmIpAddress}/api/msd/write?image=kickstart_{newNode.fqn}.iso
</code>
</pre>
</div>
Expand Down Expand Up @@ -1059,7 +1059,7 @@ <h4 id="selectmsdimage">
--request POST \
--header X-KVMD-User:{pikvmUserAdmin.user} \
--header X-KVMD-Passwd:{pikvmUserAdmin.password} \
&quot;https://{pikvmIpAddress}/api/msd/set_params?image=kickstart_{kickstartedNode.fqn}.iso&amp;cdrom=1&quot; \
&quot;https://{pikvmIpAddress}/api/msd/set_params?image=kickstart_{newNode.fqn}.iso&amp;cdrom=1&quot; \
| jq &#x27;.&#x27;
</code>
</pre>
Expand Down Expand Up @@ -1298,7 +1298,7 @@ <h4 id="disconnectmsdimage">
</div>
<div class="row py-1">
<code class="language-sql">
ssh {kickstartworkerlinuxuser}@{kickstartworkerlinuxnode}
ssh {automationworkerlinuxuser}@{automationworkerlinuxnode}
</code>
</div>

Expand Down Expand Up @@ -1380,7 +1380,7 @@ <h4 id="removemsdimage">
--request POST \
--header X-KVMD-User:{pikvmUserAdmin.user} \
--header X-KVMD-Passwd:{pikvmUserAdmin.password} \
https://{pikvmIpAddress}/api/msd/remove?image=kickstart_{kickstartedNode.fqn}.iso
https://{pikvmIpAddress}/api/msd/remove?image=kickstart_{newNode.fqn}.iso
</code>
</pre>
</div>
Expand Down
18 changes: 9 additions & 9 deletions docs/Build-Windows-Machine-with-PiKVM.html
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ <h4 id="testpikvmauthentication">
</div>
<div class="row py-1">
<code class="language-sql">
ssh {kickstartworkerlinuxuser}@{kickstartworkerlinuxnode}
ssh {automationworkerlinuxuser}@{automationworkerlinuxnode}
</code>
</div>

Expand Down Expand Up @@ -964,7 +964,7 @@ <h4 id="removemsdimage">
--request POST \
--header X-KVMD-User:{pikvmUserAdmin.user} \
--header X-KVMD-Passwd:{pikvmUserAdmin.password} \
https://{pikvmIpAddress}/api/msd/remove?image=kickstart_{kickstartedNode.fqn}.iso
https://{pikvmIpAddress}/api/msd/remove?image=kickstart_{newNode.fqn}.iso
</code>
</pre>
</div>
Expand Down Expand Up @@ -1018,14 +1018,14 @@ <h4 id="uploadmsdimage">
<div class="col px-0">
<pre>
<code class="language-sql py-0">
cd {kickstartWorkerBaseDir}
cd {automationWorkerBaseDirectory}

curl --insecure \
--request POST \
--data-binary @kickstart_{kickstartedNode.fqn}.iso \
--data-binary @kickstart_{newNode.fqn}.iso \
--header X-KVMD-User:{pikvmUserAdmin.user} \
--header X-KVMD-Passwd:{pikvmUserAdmin.password} \
https://{pikvmIpAddress}/api/msd/write?image=kickstart_{kickstartedNode.fqn}.iso
https://{pikvmIpAddress}/api/msd/write?image=kickstart_{newNode.fqn}.iso
</code>
</pre>
</div>
Expand Down Expand Up @@ -1083,7 +1083,7 @@ <h4 id="selectmsdimage">
--request POST \
--header X-KVMD-User:{pikvmUserAdmin.user} \
--header X-KVMD-Passwd:{pikvmUserAdmin.password} \
&quot;https://{pikvmIpAddress}/api/msd/set_params?image=kickstart_{kickstartedNode.fqn}.iso&amp;cdrom=1&quot; \
&quot;https://{pikvmIpAddress}/api/msd/set_params?image=kickstart_{newNode.fqn}.iso&amp;cdrom=1&quot; \
| jq &#x27;.&#x27;
</code>
</pre>
Expand Down Expand Up @@ -1437,7 +1437,7 @@ <h4 id="removemsdimage">
--request POST \
--header X-KVMD-User:{pikvmUserAdmin.user} \
--header X-KVMD-Passwd:{pikvmUserAdmin.password} \
https://{pikvmIpAddress}/api/msd/remove?image=kickstart_{kickstartedNode.fqn}.iso
https://{pikvmIpAddress}/api/msd/remove?image=kickstart_{newNode.fqn}.iso
</code>
</pre>
</div>
Expand Down Expand Up @@ -1576,12 +1576,12 @@ <h4 id="pikvmwaitforwindowsstartup">
</div>
<div class="row py-1">
<code class="language-sql">
mstsc /admin /v:{kickstartedwindowsnode}
mstsc /admin /v:{automationworkerwindowsnode}
</code>
</div>
<div class="row">
<p>
Login as user {kickstartedwindowsuser} and open a
Login as user {newnodewindowsuser} and open a
command prompt.
</p>
</div>
Expand Down
Loading

0 comments on commit 4b3dc9b

Please sign in to comment.