Skip to content

Commit 5afc521

Browse files
committed
fix(ins): removed invalid content types
1 parent 7b9c655 commit 5afc521

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

compute/instances/how-to/use-boot-modes.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,19 @@ Follow the instructions below to reboot an existing Instance using cloud-init.
7272
5. Enter your **user-data**. User data is the mechanism by which a user can pass information contained in a local file to an Instance at launch time. The typical use case is to pass something like a shell script or a configuration file as user data.
7373

7474
Cloud-init supports different input formats for user-data:
75-
75+
<Message type="note">
76+
Only the content type `text/plain` is supported.
77+
</Message>
7678
|Format|Starts with|Description|
7779
| ---- | ------------- | --------- |
78-
|**Cloud Config File**|`#cloud-config` or `Content-Type: text/cloud-config`| This file contains `cloud-config` data|
79-
| **Shell Script**|`#!` or `Content-Type: text/x-shellscript`|A shell script will be executed at `rc.local` like level during first boot.|
80-
|**Include File**|`#include` or `Content-Type: text/x-include-url`|An include file contains a list of one or different URLs, one per line. Each of the URLs will be read, and their content will be passed through this same set of rules. The content read from the URL can either be gzipped, mime-multi-part, or plain text.|
80+
|**Cloud Config File**|`#cloud-config`| This file contains `cloud-config` data|
81+
| **Shell Script**|`#!`|A shell script will be executed at `rc.local` like level during first boot.|
82+
|**Include File**|`#include` |An include file contains a list of one or different URLs, one per line. Each of the URLs will be read, and their content will be passed through this same set of rules. The content read from the URL can either be gzipped, mime-multi-part, or plain text.|
8183
|**Gzip Compressed Content**||Gzip compressed content will be uncompressed and then be used as if it were not compressed. This is useful as user data is limited to 16384 bytes.|
8284
|**MIME multipart archive**||It is possible to specify more than one type of data by using a MIME multipart file. This can be used to specify both, a shell script and a cloud-config task.|
83-
|**Upstart Job**| `#upstart-job` or `Content-Type: text/upstart-job`||
84-
|**Cloud Boothook**|`#cloud-boothook` or `Content-Type: text/cloud-boothook`||
85-
|**Part Handler**|Starts with `#part-handler` or `Content-Type: text/part-handler`||
85+
|**Upstart Job**| `#upstart-job`||
86+
|**Cloud Boothook**|`#cloud-boothook`||
87+
|**Part Handler**|Starts with `#part-handler`||
8688
6. Click **Save**.
8789
7. Click **Reboot** in the top right corner of the page, and confirm the reboot of your Instance when prompted.
8890

0 commit comments

Comments
 (0)