Giter VIP home page Giter VIP logo

Comments (9)

gpanula avatar gpanula commented on May 26, 2024 1

Argh, bitten by the same issue here... Thank you for the write-up @gpanula! Would it make sense to open an issue over at https://github.com/chef/omnitruck ?

Thanks, I wasn't aware of the omnitruck repo.
I've opened chef/omnitruck#600 for this issue in that repo.

from chef.

gpanula avatar gpanula commented on May 26, 2024 1

Running this sed command on the rocky linux machine will work-around the issue

sed -e 's/^ID="[^"]*"/ID="redhat"/' -i /etc/os-release

from chef.

gpanula avatar gpanula commented on May 26, 2024

this patch fixes install.sh found at https://omnitruck.chef.io/install.sh

--- install.sh.orig     2023-10-19 13:45:24.733410719 -0500
+++ install.sh  2023-10-19 13:45:56.159421315 -0500
@@ -440,7 +440,7 @@
        source /etc/os-release
        os="${REDHAT_SUPPORT_PRODUCT}"
        platform_version="${ROCKY_SUPPORT_PRODUCT_VERSION}"
-        platform=$ID
+        platform="redhat"

   elif test "$platform" = "xenserver"; then
     # Current XenServer 6.2 is based on CentOS 5, platform is not reset to "el" server should handle response

from chef.

djoos avatar djoos commented on May 26, 2024

Argh, bitten by the same issue here... Thank you for the write-up @gpanula!
Would it make sense to open an issue over at https://github.com/chef/omnitruck ?

from chef.

shashank-gugalia-ck avatar shashank-gugalia-ck commented on May 26, 2024

Thanks @gpanula for details. I am blocked because of the same, was wondering if there is way to get the older install.sh while the current one gets fixed

from chef.

mauroseb avatar mauroseb commented on May 26, 2024

@gpanula , thanks for reporting the issue, the install.sh changes that generated the issue have been reverted now.
Feel free to verify again an report back if the issue still persists.

from chef.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.