ya-tool: Add vmexec tool
Add vmexec tool
Example:
# Ad-hock command execution
./ya tool vmexec -- -L $(mktemp -d) -- 'lsb_release -r -c; uname -a'
# interactive mode
./ya tool vmexec -- -L $(mktemp -d) --trap
"qemu-i386": { "description": "QEMU i386 machine emulator and virtualizer" },
"qemu-img": { "description": "QEMU disk image utility" },
"qemu-nbd": { "description": "QEMU disk network block device server" },
+ "vmexec": { "description": "VMEXEC run script inside qemu-vm" },
"yfm": { "description": "YFM-extended markdown processor for Cloud deploy" },
"aws": { "description": "Run aws" },
"sedem": { "description": "SEDEM tool - Service management tool for Maps services" }
{"host": {"os": "LINUX"}, "default": true}
]
},
+ "vmexec": {
+ "tools": {
+ "vmexec": { "bottle" : "vmexec", "executable": "vmexec" },
+ },
+ "platforms": [
+ {"host": {"os": "LINUX"}, "default": true}
+ ]
+ },
"yfm": {
"tools": {
"yfm": { "bottle": "yfm", "executable": "yfm" }
"qemu-nbd": ["qemu", "bin", "qemu-nbd"]
}
},
+ "vmexec": {
+ "formula": {
+ "sandbox_id": [484941564],
+ "match": "infra/qemu/vmexec/vmexec",
+ },
+ "executable": {
+ "vmexec": ["vmexec"]
+ }
+ },
"yfm": {
"formula": {
"sandbox_id": 448364688,
