feat(instances): link user-scripts to metadata

This commit is contained in:
Sérgio Ramos 2018-03-02 14:21:28 +00:00
parent 4cf50a45c5
commit 9eabff8a60
3 changed files with 56 additions and 2 deletions

View File

@ -356,6 +356,14 @@ Array [
className="c3"
>
User script can be used to inject a custom boot script.
<a
href="https://docs.joyent.com/private-cloud/instances/using-mdata#UsingtheMetadataAPI-ListofMetadataKeys"
rel="noopener noreferrer"
target="_blank"
>
Read the docs
</a>
</p>
</div>
</div>
@ -826,6 +834,14 @@ Array [
className="c3"
>
User script can be used to inject a custom boot script.
<a
href="https://docs.joyent.com/private-cloud/instances/using-mdata#UsingtheMetadataAPI-ListofMetadataKeys"
rel="noopener noreferrer"
target="_blank"
>
Read the docs
</a>
</p>
</div>
</div>
@ -1296,6 +1312,14 @@ Array [
className="c3"
>
User script can be used to inject a custom boot script.
<a
href="https://docs.joyent.com/private-cloud/instances/using-mdata#UsingtheMetadataAPI-ListofMetadataKeys"
rel="noopener noreferrer"
target="_blank"
>
Read the docs
</a>
</p>
</div>
</div>
@ -1679,6 +1703,14 @@ Array [
className="c3"
>
User script can be used to inject a custom boot script.
<a
href="https://docs.joyent.com/private-cloud/instances/using-mdata#UsingtheMetadataAPI-ListofMetadataKeys"
rel="noopener noreferrer"
target="_blank"
>
Read the docs
</a>
</p>
</div>
</div>
@ -2062,6 +2094,14 @@ Array [
className="c3"
>
User script can be used to inject a custom boot script.
<a
href="https://docs.joyent.com/private-cloud/instances/using-mdata#UsingtheMetadataAPI-ListofMetadataKeys"
rel="noopener noreferrer"
target="_blank"
>
Read the docs
</a>
</p>
</div>
</div>

View File

@ -44,7 +44,14 @@ export const UserScript = ({
{expanded ? (
<Fragment>
<Description>
User script can be used to inject a custom boot script.
User script can be used to inject a custom boot script.{' '}
<a
href="https://docs.joyent.com/private-cloud/instances/using-mdata#UsingtheMetadataAPI-ListofMetadataKeys"
target="_blank"
rel="noopener noreferrer"
>
Read the docs
</a>
</Description>
{formOpen ? (
<ReduxForm

View File

@ -21,7 +21,14 @@ export const UserScript = ({ metadata, loading = false, error = null }) => (
<ViewContainer main>
<Margin bottom={1}>
<Description>
User script can be used to inject a custom boot script.
User script can be used to inject a custom boot script.{' '}
<a
href="https://docs.joyent.com/private-cloud/instances/using-mdata#UsingtheMetadataAPI-ListofMetadataKeys"
target="_blank"
rel="noopener noreferrer"
>
Read the docs
</a>
</Description>
</Margin>
{loading ? <StatusLoader /> : null}