add new optional cli flags

This commit is contained in:
wh1te909 2020-09-30 07:15:40 +00:00
parent bed6cd2874
commit 475d0fa57f
2 changed files with 20 additions and 13 deletions

View File

@ -11,7 +11,7 @@ AUTH_USER_MODEL = "accounts.User"
# bump this version everytime vue code is changed # bump this version everytime vue code is changed
# to alert user they need to manually refresh their browser # to alert user they need to manually refresh their browser
APP_VER = "0.0.64" APP_VER = "0.0.65"
# https://github.com/wh1te909/salt # https://github.com/wh1te909/salt
LATEST_SALT_VER = "1.1.0" LATEST_SALT_VER = "1.1.0"

View File

@ -10,9 +10,9 @@
</q-card-actions> </q-card-actions>
</q-card-section> </q-card-section>
<q-card-section> <q-card-section>
<p <p class="text-subtitle1">
class="text-subtitle1" Download the agent then run the following command from an elevated command prompt on the device you want to add.
>Download the agent then run the following command from an elevated command prompt on the device you want to add.</p> </p>
<p> <p>
<q-field outlined color="black"> <q-field outlined color="black">
<code>{{ info.data.cmd }}</code> <code>{{ info.data.cmd }}</code>
@ -39,11 +39,9 @@
<a <a
v-if="info.arch === '64'" v-if="info.arch === '64'"
href="https://github.com/wh1te909/winagent/raw/master/bin/salt-minion-setup.exe" href="https://github.com/wh1te909/winagent/raw/master/bin/salt-minion-setup.exe"
>here</a> >here</a
<a >
v-else <a v-else href="https://github.com/wh1te909/winagent/raw/master/bin/salt-minion-setup-x86.exe">here</a>
href="https://github.com/wh1te909/winagent/raw/master/bin/salt-minion-setup-x86.exe"
>here</a>
</span> </span>
</div> </div>
<div class="q-pa-xs q-gutter-xs"> <div class="q-pa-xs q-gutter-xs">
@ -52,12 +50,21 @@
</q-badge> </q-badge>
<span> <span>
To skip downloading the Mesh Agent during the install. Download it To skip downloading the Mesh Agent during the install. Download it
<span <span style="cursor: pointer; color: blue; text-decoration: underline" @click="downloadMesh">here</span>
style="cursor:pointer;color:blue;text-decoration:underline"
@click="downloadMesh"
>here</span>
</span> </span>
</div> </div>
<div class="q-pa-xs q-gutter-xs">
<q-badge class="text-caption q-mr-xs" color="grey" text-color="black">
<code>--cert "C:\\&lt;some folder or path&gt;\\ca.pem"</code>
</q-badge>
<span> To use a domain CA </span>
</div>
<div class="q-pa-xs q-gutter-xs">
<q-badge class="text-caption q-mr-xs" color="grey" text-color="black">
<code>--timeout NUMBER_IN_SECONDS</code>
</q-badge>
<span> To increase the default timeout of 900 seconds for the installer. Use on slow computers.</span>
</div>
</q-expansion-item> </q-expansion-item>
<br /> <br />
<p class="text-italic">Note: the auth token above will be valid for {{ info.expires }} hours.</p> <p class="text-italic">Note: the auth token above will be valid for {{ info.expires }} hours.</p>