Comments (4)
wouldn't cloud-init solve this?
from virt-deploy.
@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.
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.
Fixed in: 0f6d207
from virt-deploy.
Related Issues (17)
- RFE: create new instance with option to modify used network HOT 3
- virt-deploy should require new enough libguestfs-tools-c version HOT 1
- virt-deploy should depend on python-lxml HOT 3
- better handle table _IMAGE_OS_TABLE
- RFE: tree installation abilities HOT 3
- CentOS 7.2 not supported
- fedora-23 template: virt-resize: error: unknown/unavailable method for expanding the xfs filesystem on /dev/sda3 HOT 3
- storage pool in /var/lib/libvirt/images without sudo
- Support cloud-init to configure instances HOT 1
- So the default storage pool must exist? Why?
- traceback when using same name (DNS) -> no info about created machine displayed HOT 4
- RFE: add new option to wait for guest is ready to communicate (ping, ssh, ...) HOT 1
- error when deleting created instance (more snapshots) HOT 1
- support creation machines for user (qemu:///session) HOT 3
- error when default storage pool is missing HOT 10
- error: failed to mkdir on virt-deploy create <instance> <image> HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virt-deploy.