Skip to content

Commit

Permalink
Duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
Y0Coss committed Oct 29, 2024
1 parent f8ba77d commit 3b98363
Show file tree
Hide file tree
Showing 52 changed files with 363 additions and 181 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ Example of specific questions for Debian 12 (Bookworm):
```json
{
"inputs": [
{
"name": "hostname",
"description": "Custom hostname",
"default": "",
"mandatory": false,
"type": "hostname",
"enum": []
},
{
"name": "sshKey",
"description": "SSH Public Key",
Expand Down Expand Up @@ -164,9 +172,9 @@ Each question has the following attributes:

¹ If a mandatory question without default value is not answered, the API will return an error.

### Create an OS installation task <a name="install-task"></a>
### Create an OS reinstallation task <a name="install-task"></a>

When you have gathered all the information that you need, you can create the OS installation task with the following API call:
When you have gathered all the information that you need, you can create the OS reinstallation task with the following API call:

> [!api]
>
Expand Down Expand Up @@ -197,6 +205,7 @@ The following payload will install Debian 12 (Bookworm) with SSH key-based authe
{
"operatingSystem": "debian12_64",
"customizations": {
"hostname": "mon-tux",
"sshKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC9xPpdqP3sx2H+gcBm65tJEaUbuifQ1uGkgrWtNY0PRKNNPdy+3yoVOtxk6Vjo4YZ0EU/JhmQfnrK7X7Q5vhqYxmozi0LiTRt0BxgqHJ+4hWTWMIOgr+C2jLx7ZsCReRk+fy5AHr6h0PHQEuXVLXeUy/TDyuY2JPtUZ5jcqvLYgQ== my-nuclear-power-plant",
"postInstallationScript": "IyEvYmluL2Jhc2gKZWNobyAiY291Y291IHBvc3RJbnN0YWxsYXRpb25TY3JpcHQiID4gL29wdC9jb3Vjb3UKY2F0IC9ldGMvbWFjaGluZS1pZCAgPj4gL29wdC9jb3Vjb3UKZGF0ZSAiKyVZLSVtLSVkICVIOiVNOiVTIiAtLXV0YyA+PiAvb3B0L2NvdWNvdQo="
}
Expand Down Expand Up @@ -231,6 +240,7 @@ The following payload will install Windows Server 2022 Standard (Core) in French
{
"operatingSystem": "win2022core-std_64",
"customizations": {
"hostname": "ma-fenetre",
"language": "fr-fr",
"postInstallationScript": "ImNvdWNvdSBwb3N0SW5zdGFsbGF0aW9uU2NyaXB0UG93ZXJTaGVsbCIgfCBPdXQtRmlsZSAtRmlsZVBhdGggImM6XG92aHVwZFxzY3JpcHRcY291Y291LnR4dCIKKEdldC1JdGVtUHJvcGVydHkgLUxpdGVyYWxQYXRoICJSZWdpc3RyeTo6SEtMTVxTT0ZUV0FSRVxNaWNyb3NvZnRcQ3J5cHRvZ3JhcGh5IiAtTmFtZSAiTWFjaGluZUd1aWQiKS5NYWNoaW5lR3VpZCB8IE91dC1GaWxlIC1GaWxlUGF0aCAiYzpcb3ZodXBkXHNjcmlwdFxjb3Vjb3UudHh0IiAtQXBwZW5kCihHZXQtRGF0ZSkuVG9Vbml2ZXJzYWxUaW1lKCkuVG9TdHJpbmcoInl5eXktTU0tZGQgSEg6bW06c3MiKSB8IE91dC1GaWxlIC1GaWxlUGF0aCAiYzpcb3ZodXBkXHNjcmlwdFxjb3Vjb3UudHh0IiAtQXBwZW5kCg=="
}
Expand Down Expand Up @@ -281,14 +291,14 @@ While running Windows post-installation script, the following files while remain
}
```

`123456789` is the OS installation task ID. You can follow the OS installation task status with the following API call:
`123456789` is the OS reinstallation task ID. You can follow the OS reinstallation task status with the following API call:

> [!api]
>
> @api {v1} /dedicated/server GET /dedicated/server/{serviceName}/task/{taskId}
>
You can also monitor the progress of the installation process with the following API call which displays a detailed list of steps:
You can also monitor the progress of the reinstallation process with the following API call which displays a detailed list of steps:

> [!api]
>
Expand All @@ -299,14 +309,14 @@ You can also monitor the progress of the installation process with the following

A default efi bootloader path is set when installing from OVHcloud templates but you have the possibility to manage it.

You can retrieve it with the following API call :
You can retrieve it with the following API call :

> [!api]
>
> @api {v1} /dedicated/server GET /dedicated/server/{serviceName}
>
You also can set it in the payload of the following API call :
You also can set it in the payload of the following API call :

> [!api]
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ Example of specific questions for Debian 12 (Bookworm):
```json
{
"inputs": [
{
"name": "hostname",
"description": "Custom hostname",
"default": "",
"mandatory": false,
"type": "hostname",
"enum": []
},
{
"name": "sshKey",
"description": "SSH Public Key",
Expand Down Expand Up @@ -164,9 +172,9 @@ Each question has the following attributes:

¹ If a mandatory question without default value is not answered, the API will return an error.

### Create an OS installation task <a name="install-task"></a>
### Create an OS reinstallation task <a name="install-task"></a>

When you have gathered all the information that you need, you can create the OS installation task with the following API call:
When you have gathered all the information that you need, you can create the OS reinstallation task with the following API call:

> [!api]
>
Expand Down Expand Up @@ -197,6 +205,7 @@ The following payload will install Debian 12 (Bookworm) with SSH key-based authe
{
"operatingSystem": "debian12_64",
"customizations": {
"hostname": "mon-tux",
"sshKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC9xPpdqP3sx2H+gcBm65tJEaUbuifQ1uGkgrWtNY0PRKNNPdy+3yoVOtxk6Vjo4YZ0EU/JhmQfnrK7X7Q5vhqYxmozi0LiTRt0BxgqHJ+4hWTWMIOgr+C2jLx7ZsCReRk+fy5AHr6h0PHQEuXVLXeUy/TDyuY2JPtUZ5jcqvLYgQ== my-nuclear-power-plant",
"postInstallationScript": "IyEvYmluL2Jhc2gKZWNobyAiY291Y291IHBvc3RJbnN0YWxsYXRpb25TY3JpcHQiID4gL29wdC9jb3Vjb3UKY2F0IC9ldGMvbWFjaGluZS1pZCAgPj4gL29wdC9jb3Vjb3UKZGF0ZSAiKyVZLSVtLSVkICVIOiVNOiVTIiAtLXV0YyA+PiAvb3B0L2NvdWNvdQo="
}
Expand Down Expand Up @@ -231,6 +240,7 @@ The following payload will install Windows Server 2022 Standard (Core) in French
{
"operatingSystem": "win2022core-std_64",
"customizations": {
"hostname": "ma-fenetre",
"language": "fr-fr",
"postInstallationScript": "ImNvdWNvdSBwb3N0SW5zdGFsbGF0aW9uU2NyaXB0UG93ZXJTaGVsbCIgfCBPdXQtRmlsZSAtRmlsZVBhdGggImM6XG92aHVwZFxzY3JpcHRcY291Y291LnR4dCIKKEdldC1JdGVtUHJvcGVydHkgLUxpdGVyYWxQYXRoICJSZWdpc3RyeTo6SEtMTVxTT0ZUV0FSRVxNaWNyb3NvZnRcQ3J5cHRvZ3JhcGh5IiAtTmFtZSAiTWFjaGluZUd1aWQiKS5NYWNoaW5lR3VpZCB8IE91dC1GaWxlIC1GaWxlUGF0aCAiYzpcb3ZodXBkXHNjcmlwdFxjb3Vjb3UudHh0IiAtQXBwZW5kCihHZXQtRGF0ZSkuVG9Vbml2ZXJzYWxUaW1lKCkuVG9TdHJpbmcoInl5eXktTU0tZGQgSEg6bW06c3MiKSB8IE91dC1GaWxlIC1GaWxlUGF0aCAiYzpcb3ZodXBkXHNjcmlwdFxjb3Vjb3UudHh0IiAtQXBwZW5kCg=="
}
Expand Down Expand Up @@ -281,14 +291,14 @@ While running Windows post-installation script, the following files while remain
}
```

`123456789` is the OS installation task ID. You can follow the OS installation task status with the following API call:
`123456789` is the OS reinstallation task ID. You can follow the OS reinstallation task status with the following API call:

> [!api]
>
> @api {v1} /dedicated/server GET /dedicated/server/{serviceName}/task/{taskId}
>
You can also monitor the progress of the installation process with the following API call which displays a detailed list of steps:
You can also monitor the progress of the reinstallation process with the following API call which displays a detailed list of steps:

> [!api]
>
Expand All @@ -299,14 +309,14 @@ You can also monitor the progress of the installation process with the following

A default efi bootloader path is set when installing from OVHcloud templates but you have the possibility to manage it.

You can retrieve it with the following API call :
You can retrieve it with the following API call :

> [!api]
>
> @api {v1} /dedicated/server GET /dedicated/server/{serviceName}
>
You also can set it in the payload of the following API call :
You also can set it in the payload of the following API call :

> [!api]
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ Example of specific questions for Debian 12 (Bookworm):
```json
{
"inputs": [
{
"name": "hostname",
"description": "Custom hostname",
"default": "",
"mandatory": false,
"type": "hostname",
"enum": []
},
{
"name": "sshKey",
"description": "SSH Public Key",
Expand Down Expand Up @@ -164,9 +172,9 @@ Each question has the following attributes:

¹ If a mandatory question without default value is not answered, the API will return an error.

### Create an OS installation task <a name="install-task"></a>
### Create an OS reinstallation task <a name="install-task"></a>

When you have gathered all the information that you need, you can create the OS installation task with the following API call:
When you have gathered all the information that you need, you can create the OS reinstallation task with the following API call:

> [!api]
>
Expand Down Expand Up @@ -197,6 +205,7 @@ The following payload will install Debian 12 (Bookworm) with SSH key-based authe
{
"operatingSystem": "debian12_64",
"customizations": {
"hostname": "mon-tux",
"sshKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC9xPpdqP3sx2H+gcBm65tJEaUbuifQ1uGkgrWtNY0PRKNNPdy+3yoVOtxk6Vjo4YZ0EU/JhmQfnrK7X7Q5vhqYxmozi0LiTRt0BxgqHJ+4hWTWMIOgr+C2jLx7ZsCReRk+fy5AHr6h0PHQEuXVLXeUy/TDyuY2JPtUZ5jcqvLYgQ== my-nuclear-power-plant",
"postInstallationScript": "IyEvYmluL2Jhc2gKZWNobyAiY291Y291IHBvc3RJbnN0YWxsYXRpb25TY3JpcHQiID4gL29wdC9jb3Vjb3UKY2F0IC9ldGMvbWFjaGluZS1pZCAgPj4gL29wdC9jb3Vjb3UKZGF0ZSAiKyVZLSVtLSVkICVIOiVNOiVTIiAtLXV0YyA+PiAvb3B0L2NvdWNvdQo="
}
Expand Down Expand Up @@ -231,6 +240,7 @@ The following payload will install Windows Server 2022 Standard (Core) in French
{
"operatingSystem": "win2022core-std_64",
"customizations": {
"hostname": "ma-fenetre",
"language": "fr-fr",
"postInstallationScript": "ImNvdWNvdSBwb3N0SW5zdGFsbGF0aW9uU2NyaXB0UG93ZXJTaGVsbCIgfCBPdXQtRmlsZSAtRmlsZVBhdGggImM6XG92aHVwZFxzY3JpcHRcY291Y291LnR4dCIKKEdldC1JdGVtUHJvcGVydHkgLUxpdGVyYWxQYXRoICJSZWdpc3RyeTo6SEtMTVxTT0ZUV0FSRVxNaWNyb3NvZnRcQ3J5cHRvZ3JhcGh5IiAtTmFtZSAiTWFjaGluZUd1aWQiKS5NYWNoaW5lR3VpZCB8IE91dC1GaWxlIC1GaWxlUGF0aCAiYzpcb3ZodXBkXHNjcmlwdFxjb3Vjb3UudHh0IiAtQXBwZW5kCihHZXQtRGF0ZSkuVG9Vbml2ZXJzYWxUaW1lKCkuVG9TdHJpbmcoInl5eXktTU0tZGQgSEg6bW06c3MiKSB8IE91dC1GaWxlIC1GaWxlUGF0aCAiYzpcb3ZodXBkXHNjcmlwdFxjb3Vjb3UudHh0IiAtQXBwZW5kCg=="
}
Expand Down Expand Up @@ -281,14 +291,14 @@ While running Windows post-installation script, the following files while remain
}
```

`123456789` is the OS installation task ID. You can follow the OS installation task status with the following API call:
`123456789` is the OS reinstallation task ID. You can follow the OS reinstallation task status with the following API call:

> [!api]
>
> @api {v1} /dedicated/server GET /dedicated/server/{serviceName}/task/{taskId}
>
You can also monitor the progress of the installation process with the following API call which displays a detailed list of steps:
You can also monitor the progress of the reinstallation process with the following API call which displays a detailed list of steps:

> [!api]
>
Expand All @@ -299,14 +309,14 @@ You can also monitor the progress of the installation process with the following

A default efi bootloader path is set when installing from OVHcloud templates but you have the possibility to manage it.

You can retrieve it with the following API call :
You can retrieve it with the following API call :

> [!api]
>
> @api {v1} /dedicated/server GET /dedicated/server/{serviceName}
>
You also can set it in the payload of the following API call :
You also can set it in the payload of the following API call :

> [!api]
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ Example of specific questions for Debian 12 (Bookworm):
```json
{
"inputs": [
{
"name": "hostname",
"description": "Custom hostname",
"default": "",
"mandatory": false,
"type": "hostname",
"enum": []
},
{
"name": "sshKey",
"description": "SSH Public Key",
Expand Down Expand Up @@ -164,9 +172,9 @@ Each question has the following attributes:

¹ If a mandatory question without default value is not answered, the API will return an error.

### Create an OS installation task <a name="install-task"></a>
### Create an OS reinstallation task <a name="install-task"></a>

When you have gathered all the information that you need, you can create the OS installation task with the following API call:
When you have gathered all the information that you need, you can create the OS reinstallation task with the following API call:

> [!api]
>
Expand Down Expand Up @@ -197,6 +205,7 @@ The following payload will install Debian 12 (Bookworm) with SSH key-based authe
{
"operatingSystem": "debian12_64",
"customizations": {
"hostname": "mon-tux",
"sshKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC9xPpdqP3sx2H+gcBm65tJEaUbuifQ1uGkgrWtNY0PRKNNPdy+3yoVOtxk6Vjo4YZ0EU/JhmQfnrK7X7Q5vhqYxmozi0LiTRt0BxgqHJ+4hWTWMIOgr+C2jLx7ZsCReRk+fy5AHr6h0PHQEuXVLXeUy/TDyuY2JPtUZ5jcqvLYgQ== my-nuclear-power-plant",
"postInstallationScript": "IyEvYmluL2Jhc2gKZWNobyAiY291Y291IHBvc3RJbnN0YWxsYXRpb25TY3JpcHQiID4gL29wdC9jb3Vjb3UKY2F0IC9ldGMvbWFjaGluZS1pZCAgPj4gL29wdC9jb3Vjb3UKZGF0ZSAiKyVZLSVtLSVkICVIOiVNOiVTIiAtLXV0YyA+PiAvb3B0L2NvdWNvdQo="
}
Expand Down Expand Up @@ -231,6 +240,7 @@ The following payload will install Windows Server 2022 Standard (Core) in French
{
"operatingSystem": "win2022core-std_64",
"customizations": {
"hostname": "ma-fenetre",
"language": "fr-fr",
"postInstallationScript": "ImNvdWNvdSBwb3N0SW5zdGFsbGF0aW9uU2NyaXB0UG93ZXJTaGVsbCIgfCBPdXQtRmlsZSAtRmlsZVBhdGggImM6XG92aHVwZFxzY3JpcHRcY291Y291LnR4dCIKKEdldC1JdGVtUHJvcGVydHkgLUxpdGVyYWxQYXRoICJSZWdpc3RyeTo6SEtMTVxTT0ZUV0FSRVxNaWNyb3NvZnRcQ3J5cHRvZ3JhcGh5IiAtTmFtZSAiTWFjaGluZUd1aWQiKS5NYWNoaW5lR3VpZCB8IE91dC1GaWxlIC1GaWxlUGF0aCAiYzpcb3ZodXBkXHNjcmlwdFxjb3Vjb3UudHh0IiAtQXBwZW5kCihHZXQtRGF0ZSkuVG9Vbml2ZXJzYWxUaW1lKCkuVG9TdHJpbmcoInl5eXktTU0tZGQgSEg6bW06c3MiKSB8IE91dC1GaWxlIC1GaWxlUGF0aCAiYzpcb3ZodXBkXHNjcmlwdFxjb3Vjb3UudHh0IiAtQXBwZW5kCg=="
}
Expand Down Expand Up @@ -281,14 +291,14 @@ While running Windows post-installation script, the following files while remain
}
```

`123456789` is the OS installation task ID. You can follow the OS installation task status with the following API call:
`123456789` is the OS reinstallation task ID. You can follow the OS reinstallation task status with the following API call:

> [!api]
>
> @api {v1} /dedicated/server GET /dedicated/server/{serviceName}/task/{taskId}
>
You can also monitor the progress of the installation process with the following API call which displays a detailed list of steps:
You can also monitor the progress of the reinstallation process with the following API call which displays a detailed list of steps:

> [!api]
>
Expand All @@ -299,14 +309,14 @@ You can also monitor the progress of the installation process with the following

A default efi bootloader path is set when installing from OVHcloud templates but you have the possibility to manage it.

You can retrieve it with the following API call :
You can retrieve it with the following API call :

> [!api]
>
> @api {v1} /dedicated/server GET /dedicated/server/{serviceName}
>
You also can set it in the payload of the following API call :
You also can set it in the payload of the following API call :

> [!api]
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ Example of specific questions for Debian 12 (Bookworm):
```json
{
"inputs": [
{
"name": "hostname",
"description": "Custom hostname",
"default": "",
"mandatory": false,
"type": "hostname",
"enum": []
},
{
"name": "sshKey",
"description": "SSH Public Key",
Expand Down Expand Up @@ -164,9 +172,9 @@ Each question has the following attributes:

¹ If a mandatory question without default value is not answered, the API will return an error.

### Create an OS installation task <a name="install-task"></a>
### Create an OS reinstallation task <a name="install-task"></a>

When you have gathered all the information that you need, you can create the OS installation task with the following API call:
When you have gathered all the information that you need, you can create the OS reinstallation task with the following API call:

> [!api]
>
Expand Down Expand Up @@ -197,6 +205,7 @@ The following payload will install Debian 12 (Bookworm) with SSH key-based authe
{
"operatingSystem": "debian12_64",
"customizations": {
"hostname": "mon-tux",
"sshKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC9xPpdqP3sx2H+gcBm65tJEaUbuifQ1uGkgrWtNY0PRKNNPdy+3yoVOtxk6Vjo4YZ0EU/JhmQfnrK7X7Q5vhqYxmozi0LiTRt0BxgqHJ+4hWTWMIOgr+C2jLx7ZsCReRk+fy5AHr6h0PHQEuXVLXeUy/TDyuY2JPtUZ5jcqvLYgQ== my-nuclear-power-plant",
"postInstallationScript": "IyEvYmluL2Jhc2gKZWNobyAiY291Y291IHBvc3RJbnN0YWxsYXRpb25TY3JpcHQiID4gL29wdC9jb3Vjb3UKY2F0IC9ldGMvbWFjaGluZS1pZCAgPj4gL29wdC9jb3Vjb3UKZGF0ZSAiKyVZLSVtLSVkICVIOiVNOiVTIiAtLXV0YyA+PiAvb3B0L2NvdWNvdQo="
}
Expand Down Expand Up @@ -231,6 +240,7 @@ The following payload will install Windows Server 2022 Standard (Core) in French
{
"operatingSystem": "win2022core-std_64",
"customizations": {
"hostname": "ma-fenetre",
"language": "fr-fr",
"postInstallationScript": "ImNvdWNvdSBwb3N0SW5zdGFsbGF0aW9uU2NyaXB0UG93ZXJTaGVsbCIgfCBPdXQtRmlsZSAtRmlsZVBhdGggImM6XG92aHVwZFxzY3JpcHRcY291Y291LnR4dCIKKEdldC1JdGVtUHJvcGVydHkgLUxpdGVyYWxQYXRoICJSZWdpc3RyeTo6SEtMTVxTT0ZUV0FSRVxNaWNyb3NvZnRcQ3J5cHRvZ3JhcGh5IiAtTmFtZSAiTWFjaGluZUd1aWQiKS5NYWNoaW5lR3VpZCB8IE91dC1GaWxlIC1GaWxlUGF0aCAiYzpcb3ZodXBkXHNjcmlwdFxjb3Vjb3UudHh0IiAtQXBwZW5kCihHZXQtRGF0ZSkuVG9Vbml2ZXJzYWxUaW1lKCkuVG9TdHJpbmcoInl5eXktTU0tZGQgSEg6bW06c3MiKSB8IE91dC1GaWxlIC1GaWxlUGF0aCAiYzpcb3ZodXBkXHNjcmlwdFxjb3Vjb3UudHh0IiAtQXBwZW5kCg=="
}
Expand Down Expand Up @@ -281,14 +291,14 @@ While running Windows post-installation script, the following files while remain
}
```

`123456789` is the OS installation task ID. You can follow the OS installation task status with the following API call:
`123456789` is the OS reinstallation task ID. You can follow the OS reinstallation task status with the following API call:

> [!api]
>
> @api {v1} /dedicated/server GET /dedicated/server/{serviceName}/task/{taskId}
>
You can also monitor the progress of the installation process with the following API call which displays a detailed list of steps:
You can also monitor the progress of the reinstallation process with the following API call which displays a detailed list of steps:

> [!api]
>
Expand All @@ -299,14 +309,14 @@ You can also monitor the progress of the installation process with the following

A default efi bootloader path is set when installing from OVHcloud templates but you have the possibility to manage it.

You can retrieve it with the following API call :
You can retrieve it with the following API call :

> [!api]
>
> @api {v1} /dedicated/server GET /dedicated/server/{serviceName}
>
You also can set it in the payload of the following API call :
You also can set it in the payload of the following API call :

> [!api]
>
Expand Down
Loading

0 comments on commit 3b98363

Please sign in to comment.