Giter Site home page Giter Site logo

Comments (7)

arodrime avatar arodrime commented on August 22, 2024

Regarding this, I see this message for 3 years now, obliging me to wait or ctrl-C on ssh connection. I never had any use of those messages. What is this useful for ? Can't we just get rid of this, giving immediate access to the machine, at least make this configurable so I can disable it. Ctrl-C works just fine, but day after day, and after 3 years, this become annoying.

from comboami.

joaquincasares avatar joaquincasares commented on August 22, 2024

That is a use case I had not really taken the time to consider. Originally the AMI was meant to show off the cluster to new Cassandra users.

I don't have the time to get to this today, but ideally we would add another option here:
https://github.com/riptano/ComboAMI/blob/2.5/ds2_configure.py#L223

Run a conf.set_config() here:
https://github.com/riptano/ComboAMI/blob/2.5/ds2_configure.py#L302

And add a check here:
https://github.com/riptano/ComboAMI/blob/2.5/ds4_motd.py#L242

I'll see if I can whip this up, test, and push this in the near future.

Thanks for bumping this issue!

from comboami.

arodrime avatar arodrime commented on August 22, 2024

Ok great.

So this will be a setup option right ? Is there no way / wouldn't it be better to modify configuration on running instances to add or remove this option on running instances (or at least on instances launched after this patch, but still at run time) ?

Just a question, I do not really care since I will probably disable it once and for all but, maybe new users would like to have this at start and will later be annoyed by it. They won't be able to disable this then. Any thoughts regarding this ?

from comboami.

joaquincasares avatar joaquincasares commented on August 22, 2024

Indeed, all configurations passed to ds4_motd.py go through ~/datastax_ami/ami.conf so you'll be able to manually edit them.

Sorry for not thinking about this earlier, but try just commenting out this line in all your current instances: https://github.com/riptano/ComboAMI/blob/2.5/ds4_motd.py#L242

That should disable any more motd messages. :)

from comboami.

arodrime avatar arodrime commented on August 22, 2024

This worked indeed.

I don't know why I did not take care of this a while ago :).

Thanks for the tip and your responsiveness, as always.

from comboami.

joaquincasares avatar joaquincasares commented on August 22, 2024

No worries, glad to have helped.

from comboami.

mlococo avatar mlococo commented on August 22, 2024

I'm going to close this wontfix. With the new --repository feature it's easier than ever to add site-specific customizations like this for folks that do want it, and the AMI is really intended as a demo setup rather than for long-lived production clusters.

from comboami.

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.