Giter Club home page Giter Club logo

Comments (4)

JOduMonT avatar JOduMonT commented on June 8, 2024

@Orfeous could you decompose the script and run command by command those
because it is the way I'm doing it and I don't any have error but as @stirch mentioned I also don't execute the MOTD BANNER

from xshok-proxmox.

Orfeous avatar Orfeous commented on June 8, 2024

@JOduMonT Sure, will do that.
To bypass the issue i just basically trashed out the whole MOTD part from the script.
For the first look it seems like an identication issue around EOF for the file contents. For some reason the script thinks that one is its own EOF and fails on it.

I'll show you my version and if you like it i create a pr as well.

from xshok-proxmox.

extremeshok avatar extremeshok commented on June 8, 2024

@Orfeous please create a PR or post the code change here.

Thanks

from xshok-proxmox.

Orfeous avatar Orfeous commented on June 8, 2024

It gave me some headache because i wanted to fix it by keeping the script indentation intact.

At the end i gave up and just "break it" by removing it and adding some space to fix the here-document part. See #10

Now it works. :)

from xshok-proxmox.

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.