Giter VIP home page Giter VIP logo

Comments (4)

itamarh avatar itamarh commented on August 27, 2024

wouldn't cloud-init solve this?

from virt-deploy.

simon3z avatar simon3z commented on August 27, 2024

@itamarh, yes the specific use case can be solved with cloud-init.

Probably a more useful implementation for what @jscotka is proposing, is extending the current ssh command to support the usual:

$ virt-deploy ssh instance remotecommand args...

That solution would solve @jscotka's use-case (without coupling it with the instance creation) and it will make the virt-deploy ssh command similar to the real ssh command.

I'll open a separate issue to support cloud-init, I am sure it will be a much more extensive feature (with low priority for now), because each driver will have to have its own implementation.

from virt-deploy.

jscotka avatar jscotka commented on August 27, 2024

I've solved similar issue by helper function vm_ssh:
https://github.com/jscotka/cockpit/blob/new_test_structure/test/tests/lib/create_test_machine.sh#L149
It is good that it directly support also commands like:
tar czf - . | vm_ssh $NAME tar xzf - --directory /root/avocado/tests/
what is very useful in case comething should be copied to/from guest

from virt-deploy.

simon3z avatar simon3z commented on August 27, 2024

Fixed in: 0f6d207

from virt-deploy.

Related Issues (17)

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.