-
Notifications
You must be signed in to change notification settings - Fork 627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ubuntu noble 24.04 fails due to regex #4245
Comments
bdellegrazie
added a commit
to bdellegrazie/terraform-aws-github-runner
that referenced
this issue
Nov 8, 2024
On Ubuntu 24.04 there is another variable `ID_LIKE` that appears in the `/etc/os-release` file. This change fixes the regex match to only match ID and not ID_LIKE closes philips-labs#4245
Related to #4178 |
bdellegrazie
added a commit
to bdellegrazie/terraform-aws-github-runner
that referenced
this issue
Nov 13, 2024
On Ubuntu 24.04 there is another variable `ID_LIKE` that appears in the `/etc/os-release` file. This change fixes the regex match to only match ID and not ID_LIKE closes philips-labs#4245
bdellegrazie
added a commit
to bdellegrazie/terraform-aws-github-runner
that referenced
this issue
Nov 16, 2024
On Ubuntu 24.04 there is another variable `ID_LIKE` that appears in the `/etc/os-release` file. This change fixes the regex match to only match ID and not ID_LIKE closes philips-labs#4245
bdellegrazie
added a commit
to bdellegrazie/terraform-aws-github-runner
that referenced
this issue
Nov 19, 2024
On Ubuntu 24.04 there is another variable `ID_LIKE` that appears in the `/etc/os-release` file. This change fixes the regex match to only match ID and not ID_LIKE closes philips-labs#4245
bdellegrazie
added a commit
to bdellegrazie/terraform-aws-github-runner
that referenced
this issue
Nov 21, 2024
On Ubuntu 24.04 there is another variable `ID_LIKE` that appears in the `/etc/os-release` file. This change fixes the regex match to only match ID and not ID_LIKE closes philips-labs#4245
bdellegrazie
added a commit
to bdellegrazie/terraform-aws-github-runner
that referenced
this issue
Nov 27, 2024
On Ubuntu 24.04 there is another variable `ID_LIKE` that appears in the `/etc/os-release` file. This change fixes the regex match to only match ID and not ID_LIKE closes philips-labs#4245
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
When testing with Ubuntu 24.04 the nodes fail to install the runner due to the following line:
terraform-aws-github-runner/modules/runners/templates/install-runner.sh
Line 45 in 52ce9c1
Specifically, the condition:
On Ubuntu 24.04, the source file (
/etc/os-release
) looks something like:which results in
os_id
having a value of:The correct expression is simply:
I'll raise a PR.
The text was updated successfully, but these errors were encountered: