Skip to content

BYOLinux: mention runcmd to replace postInstallationScript#9180

Merged
Y0Coss merged 1 commit intodevelopfrom
PUBM-50802_byolinux_postinst
Mar 16, 2026
Merged

BYOLinux: mention runcmd to replace postInstallationScript#9180
Y0Coss merged 1 commit intodevelopfrom
PUBM-50802_byolinux_postinst

Conversation

@sbraz
Copy link
Member

@sbraz sbraz commented Mar 12, 2026

What type of Pull Request is this?

  • Update of existing guide(s)

Description

BYOLinux does not support the postInstallationScript customization available on standard OVHcloud OS templates. Added a warning note under Deployment options and updated the configDriveUserData example to include a cloud-init runcmd section.

Mandatory information

The translations in this Pull Request have been done using:

  • This Pull Request didn't require any translation.
  • This Pull Request can be merged as soon as possible.
  • This Pull Request content should be replicated for the US OVHcloud documentation : YES

See also ovh/bringyourownlinux#18

@sbraz sbraz requested review from JayBeeDe, Y0Coss and ashmonger March 12, 2026 17:51
@sbraz sbraz force-pushed the PUBM-50802_byolinux_postinst branch 2 times, most recently from a13ed98 to 07b2171 Compare March 12, 2026 17:58
@sbraz sbraz changed the title [PUBM-50802] BYOLinux: mention runcmd to replace postInstallationScript BYOLinux: mention runcmd to replace postInstallationScript Mar 12, 2026
sbraz pushed a commit to ovh/bringyourownlinux that referenced this pull request Mar 12, 2026
BYOLinux does not support the postInstallationScript customization available
on standard OVHcloud OS templates. Added a note and updated the API example
to use a cloud-init configDriveUserData with runcmd.

See also ovh/docs#9180
@Y0Coss Y0Coss added the Offer: Bare Metal The PR documents Bare Metal products: Dedicated Servers, VPS label Mar 13, 2026
- vim
- tree
runcmd:
- echo "Post-installation complete" > /opt/post-install.log
Copy link
Member

@JayBeeDe JayBeeDe Mar 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should use the same script as we provided elsewhere in the official docuementation ?

#!/bin/bash
echo "coucou postInstallationScript" > /opt/coucou
cat /etc/machine-id  >> /opt/coucou
date "+%Y-%m-%d %H:%M:%S" --utc >> /opt/coucou

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure why not. I'll do that for consistency :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, I also changed one word (obfuscated → masked) and used an ED25519 SSH key as example to be more modern.

BYOLinux does not support the postInstallationScript customization available
on standard OVHcloud OS templates. Added a warning note under Deployment options
and updated the configDriveUserData example to include a cloud-init runcmd section.
@sbraz sbraz force-pushed the PUBM-50802_byolinux_postinst branch from 07b2171 to 45c1aeb Compare March 16, 2026 15:11
sbraz pushed a commit to ovh/bringyourownlinux that referenced this pull request Mar 16, 2026
BYOLinux does not support the postInstallationScript customization available
on standard OVHcloud OS templates. Added a note and updated the API example
to use a cloud-init configDriveUserData with runcmd.

See also ovh/docs#9180
Copy link
Member

@ashmonger ashmonger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@sbraz
Copy link
Member Author

sbraz commented Mar 16, 2026

@Y0Coss ready for your review :)

sbraz pushed a commit to ovh/bringyourownlinux that referenced this pull request Mar 16, 2026
BYOLinux does not support the postInstallationScript customization available
on standard OVHcloud OS templates. Added a note and updated the API example
to use a cloud-init configDriveUserData with runcmd.

See also ovh/docs#9180
@Y0Coss Y0Coss merged commit 6b3f2d4 into develop Mar 16, 2026
@Y0Coss Y0Coss deleted the PUBM-50802_byolinux_postinst branch March 16, 2026 16:37
@Y0Coss
Copy link
Collaborator

Y0Coss commented Mar 16, 2026

Thank you for the update @sbraz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Offer: Bare Metal The PR documents Bare Metal products: Dedicated Servers, VPS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants