@hugojosefson/virsh-transient-disk
Converts a VM definition from virsh(1) to a new one with the disk marked transient.
Last updated 2 months ago by hugojosefson .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @hugojosefson/virsh-transient-disk 
SYNC missed versions from official npm registry.

@hugojosefson/virsh-transient-disk

Build Status npm page License MIT SemVer 2.0.0 JavaScript Style Guide

Converts a base VM image XML definition from virsh(1), to a similar definition with these modifications:

  • Sets a new UUID.
  • Sets the name as specified in CLI argument --name.
  • Sets the disk as transient.

Usage

No installation needed, thanks to npx.

virsh -c qemu:///system dumpxml dev-dispvm \
  | npx @hugojosefson/virsh-transient-disk --name new-transient \
  > new-transient.xml

virsh -c qemu:///system define new-transient.xml

See also

Current Tags

  • 2.0.2                                ...           latest (2 months ago)

7 Versions

  • 2.0.2                                ...           2 months ago
  • 2.0.1                                ...           7 months ago
  • 2.0.0                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 7
Last Month 8
Dependencies (4)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |