Skip to content
This repository was archived by the owner on Jun 6, 2023. It is now read-only.

Commit d4868d0

Browse files
committed
minor scripts guide updates
1 parent 80d2bd9 commit d4868d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ curl --retry 10 https://metadata.paperspace.com/script | bash > /var/log/startu
5353

5454
Similarly, if you would like to disable this functionality, simply remove the script located at /var/lib/cloud/scripts/per-boot/fetch-and-execute-startup-script.sh.
5555

56-
See below for a sample startup script that will install and run docker on an ubuntu 16.04 system:
56+
Here is a sample startup script that will install and run docker on an ubuntu 16.04 system:
5757

5858
```
5959
if [ -f /etc/firstrun ]; then
@@ -82,7 +82,7 @@ On a Windows machine the script is downloaded to `C:\Windows\Temp\ps_script.ps1`
8282

8383
To examine the contents of an assigned script from within the Windows virtual machine execute the following command from a `powershell` prompt:
8484

85-
`(. { iwr -useb https://metadata.paperspace.com/script }).content`
85+
`(iwr -useb https://metadata.paperspace.com/script).content`
8686

8787
(This form of script download only works from within the machine assigned to the script.)
8888

@@ -97,7 +97,7 @@ To retrieve machine metadata from within a Linux machine run:
9797

9898
For a Windows machine run the `powershell` equivalent command:
9999

100-
`(. { iwr -useb https://metadata.paperspace.com/meta-data/machine }).content`
100+
`(iwr -useb https://metadata.paperspace.com/meta-data/machine).content`
101101

102102
The metadata available includes the user specified machine 'name', the paperspace machine 'id' and other machine specific info. The info is returned from the Paperspace metadata service as a JSON object. Here is an example JSON return value:
103103

0 commit comments

Comments
 (0)