Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

@hugojosefson/virsh-transient-disk

2.0.1 • Public • Published

@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

Install

npm i @hugojosefson/virsh-transient-disk

DownloadsWeekly Downloads

1

Version

2.0.1

License

MIT

Unpacked Size

15.6 kB

Total Files

9

Last publish

Collaborators

  • avatar