conversations
listlengths
2
2
[ { "from": "human", "value": "Tell me about `virsh-connect`." }, { "from": "gpt", "value": "Connect to a virtual machine hypervisor.\nSee also: `virsh`.\nMore information: <https://manned.org/virsh>.\n" } ]
[ { "from": "human", "value": "Connect to the default hypervisor via the `virsh-connect` command" }, { "from": "gpt", "value": "`virsh connect`" } ]
[ { "from": "human", "value": "Connect as root to the local QEMU/KVM hypervisor via the `virsh-connect` command" }, { "from": "gpt", "value": "`virsh connect qemu:///system`" } ]
[ { "from": "human", "value": "Launch a new instance of the hypervisor and connect to it as the local user via the `virsh-connect` command" }, { "from": "gpt", "value": "`virsh connect qemu:///session`" } ]
[ { "from": "human", "value": "Connect as root to a remote hypervisor using SSH via the `virsh-connect` command" }, { "from": "gpt", "value": "`virsh connect qemu+ssh://{{user_name@host_name}}/system`" } ]
[ { "from": "human", "value": "Tell me about `virsh-domblklist`." }, { "from": "gpt", "value": "List information about block devices associated with a virtual machine.\nSee also: `virsh`.\nMore information: <https://manned.org/virsh>.\n" } ]
[ { "from": "human", "value": "List the target name and source path of the block devices via the `virsh-domblklist` command" }, { "from": "gpt", "value": "`virsh domblklist --domain {{vm_name}}`" } ]
[ { "from": "human", "value": "List the disk type and device value as well as the target name and source path via the `virsh-domblklist` command" }, { "from": "gpt", "value": "`virsh domblklist --domain {{vm_name}} --details`" } ]
[ { "from": "human", "value": "Tell me about `virsh-help`." }, { "from": "gpt", "value": "Display information about `virsh` commands or command groups.\nSee also: `virsh`.\nMore information: <https://manned.org/virsh>.\n" } ]
[ { "from": "human", "value": "List the `virsh` commands grouped into related categories via the `virsh-help` command" }, { "from": "gpt", "value": "`virsh help`" } ]
[ { "from": "human", "value": "List the command categories via the `virsh-help` command" }, { "from": "gpt", "value": "`virsh help | grep \"keyword\"`" } ]
[ { "from": "human", "value": "List the commands in a category via the `virsh-help` command" }, { "from": "gpt", "value": "`virsh help {{category_keyword}}`" } ]
[ { "from": "human", "value": "Display help for a command via the `virsh-help` command" }, { "from": "gpt", "value": "`virsh help {{command}}`" } ]
[ { "from": "human", "value": "Tell me about `virsh-list`." }, { "from": "gpt", "value": "List the ID, name, and state of virtual machines.\nSee also: `virsh`.\nMore information: <https://manned.org/virsh>.\n" } ]
[ { "from": "human", "value": "List information about running virtual machines via the `virsh-list` command" }, { "from": "gpt", "value": "`virsh list`" } ]
[ { "from": "human", "value": "List information about virtual machines regardless of state via the `virsh-list` command" }, { "from": "gpt", "value": "`virsh list --all`" } ]
[ { "from": "human", "value": "List information about virtual machines with autostart either enabled or disabled via the `virsh-list` command" }, { "from": "gpt", "value": "`virsh list --all --{{autostart|no-autostart}}`" } ]
[ { "from": "human", "value": "List information about virtual machines either with or without snapshots via the `virsh-list` command" }, { "from": "gpt", "value": "`virsh list --all --{{with-snapshot|without-snapshot}}`" } ]
[ { "from": "human", "value": "Tell me about `virsh`." }, { "from": "gpt", "value": "Manage `virsh` guest domains. (Note: `guest_id` can be the ID, name or UUID of the guest).\nSome subcommands such as `list` have their own usage documentation.\nMore information: <https://libvirt.org/manpages/virs...
[ { "from": "human", "value": "Connect to a hypervisor session via the `virsh` command" }, { "from": "gpt", "value": "`virsh connect {{qemu:///system}}`" } ]
[ { "from": "human", "value": "Activate a network named `default` via the `virsh` command" }, { "from": "gpt", "value": "`sudo virsh net-start {{default}}`" } ]
[ { "from": "human", "value": "List all domains via the `virsh` command" }, { "from": "gpt", "value": "`virsh list --all`" } ]
[ { "from": "human", "value": "Create a guest from a configuration file via the `virsh` command" }, { "from": "gpt", "value": "`virsh create {{path/to/config_file.xml}}`" } ]
[ { "from": "human", "value": "Edit a guest's configuration file (editor can be changed with $EDITOR) via the `virsh` command" }, { "from": "gpt", "value": "`virsh edit {{guest_id}}`" } ]
[ { "from": "human", "value": "Start/reboot/shutdown/suspend/resume a guest via the `virsh` command" }, { "from": "gpt", "value": "`virsh {{command}} {{guest_id}}`" } ]
[ { "from": "human", "value": "Save the current state of a guest to a file via the `virsh` command" }, { "from": "gpt", "value": "`virsh save {{guest_id}} {{filename}}`" } ]
[ { "from": "human", "value": "Delete a running guest via the `virsh` command" }, { "from": "gpt", "value": "`virsh destroy {{guest_id}} && virsh undefine {{guest_id}}`" } ]
[ { "from": "human", "value": "Tell me about `virsh pool-autostart`." }, { "from": "gpt", "value": "Enable or disable autostart for a virtual machine storage pool.\nSee also: `virsh`.\nMore information: <https://manned.org/virsh>.\n" } ]
[ { "from": "human", "value": "Enable autostart for the storage pool specified by name or UUID (determine using `virsh pool-list`) via the `virsh-pool-autostart` command" }, { "from": "gpt", "value": "`virsh pool-autostart --pool {{name|uuid}}`" } ]
[ { "from": "human", "value": "Disable autostart for the storage pool specified by name or UUID via the `virsh-pool-autostart` command" }, { "from": "gpt", "value": "`virsh pool-autostart --pool {{name|uuid}} --disable`" } ]
[ { "from": "human", "value": "Tell me about `virsh pool-build`." }, { "from": "gpt", "value": "Build the underlying storage system for a virtual machine storage pool as defined in it's configuration file in `/etc/libvirt/storage`.\nSee also: `virsh`, `virsh-pool-define-as`, `virsh-pool-start`.\nM...
[ { "from": "human", "value": "Build the storage pool specified by name or UUID (determine using `virsh pool-list`) via the `virsh-pool-build` command" }, { "from": "gpt", "value": "`virsh pool-build --pool {{name|uuid}}`" } ]
[ { "from": "human", "value": "Tell me about `virsh pool-define-as`." }, { "from": "gpt", "value": "Create a configuration file in `/etc/libvirt/storage` for a persistent virtual machine storage pool from the provided arguments.\nSee also: `virsh`, `virsh-pool-build`, `virsh-pool-start`.\nMore inf...
[ { "from": "human", "value": "Create the configuration file for a storage pool called pool_name using `/var/vms` as the underlying storage system via the `virsh-pool-define-as` command" }, { "from": "gpt", "value": "`virsh pool-define-as --name {{pool_name}} --type {{dir}} --target {{/var/vms}}`"...
[ { "from": "human", "value": "Tell me about `virsh pool-delete`." }, { "from": "gpt", "value": "Delete the underlying storage system of an inactive virtual machine storage pool.\nSee also: `virsh`, `virsh-pool-destroy`, `virsh-pool-undefine`.\nMore information: <https://manned.org/virsh>.\n" } ...
[ { "from": "human", "value": "Delete the underlying storage system for the storage pool specified by name or UUID (determine using `virsh pool-list`) via the `virsh-pool-delete` command" }, { "from": "gpt", "value": "`virsh pool-delete --pool {{name|uuid}}`" } ]
[ { "from": "human", "value": "Tell me about `virsh pool-destroy`." }, { "from": "gpt", "value": "Stop an active virtual machine storage pool.\nSee also: `virsh`, `virsh-pool-delete`.\nMore information: <https://manned.org/virsh>.\n" } ]
[ { "from": "human", "value": "Stop a storage pool specified by name or UUID (determine using `virsh pool-list`) via the `virsh-pool-destroy` command" }, { "from": "gpt", "value": "`virsh pool-destroy --pool {{name|uuid}}`" } ]
[ { "from": "human", "value": "Tell me about `virsh pool-info`." }, { "from": "gpt", "value": "List information about a virtual machine storage pool.\nSee also: `virsh`.\nMore information: <https://manned.org/virsh>.\n" } ]
[ { "from": "human", "value": "List the name, UUID, state, persistence type, autostart status, capacity, space allocated, and space available for the storage pool specified by name or UUID (determine using `virsh pool-list`) via the `virsh-pool-info` command" }, { "from": "gpt", "value": "`virsh p...
[ { "from": "human", "value": "Tell me about `virsh pool-list`." }, { "from": "gpt", "value": "List information about virtual machine storage pools.\nSee also: `virsh`, `virsh-pool-autostart`, `virsh-pool-define-as`.\nMore information: <https://manned.org/virsh>.\n" } ]
[ { "from": "human", "value": "List the name, state, and whether autostart is enabled or disabled for active storage pools via the `virsh-pool-list` command" }, { "from": "gpt", "value": "`virsh pool-list`" } ]
[ { "from": "human", "value": "List information for active and inactive or just inactive storage pools via the `virsh-pool-list` command" }, { "from": "gpt", "value": "`virsh pool-list --{{all|inactive}}`" } ]
[ { "from": "human", "value": "List extended information about persistence, capacity, allocation, and available space for active storage pools via the `virsh-pool-list` command" }, { "from": "gpt", "value": "`virsh pool-list --details`" } ]
[ { "from": "human", "value": "List information for active storage pools with either autostart enabled or disabled via the `virsh-pool-list` command" }, { "from": "gpt", "value": "`virsh pool-list --{{autostart|no-autostart}}`" } ]
[ { "from": "human", "value": "List information for active storage pools that are either persistent or transient via the `virsh-pool-list` command" }, { "from": "gpt", "value": "`virsh pool-list --{{persistent|transient}}`" } ]
[ { "from": "human", "value": "List the name and UUID of active storage pools via the `virsh-pool-list` command" }, { "from": "gpt", "value": "`virsh pool-list --name --uuid`" } ]
[ { "from": "human", "value": "Tell me about `virsh pool-start`." }, { "from": "gpt", "value": "Start a previously configured but inactive virtual machine storage pool.\nSee also: `virsh`, `virsh-pool-define-as`, `virsh-pool-destroy`.\nMore information: <https://manned.org/virsh>.\n" } ]
[ { "from": "human", "value": "Start the storage pool specified by name or UUID (determine using `virsh pool-list`) and create the underlying storage system if it doesn't exist via the `virsh-pool-start` command" }, { "from": "gpt", "value": "`virsh pool-start --pool {{name|uuid}} --build`" } ]
[ { "from": "human", "value": "Tell me about `virsh pool-undefine`." }, { "from": "gpt", "value": "Delete the configuration file in `/etc/libvirt/storage` for a stopped virtual machine storage pool.\nSee also: `virsh`, `virsh-pool-destroy`.\nMore information: <https://manned.org/virsh>.\n" } ]
[ { "from": "human", "value": "Delete the configuration for the storage pool specified name or UUID (determine using `virsh pool-list`) via the `virsh-pool-undefine` command" }, { "from": "gpt", "value": "`virsh pool-undefine --pool {{name|uuid}}`" } ]
[ { "from": "human", "value": "Tell me about `virsh-undefine`." }, { "from": "gpt", "value": "Delete a virtual machine.\nMore information: <https://manned.org/virsh>.\n" } ]
[ { "from": "human", "value": "Delete only the virtual machine configuration file via the `virsh-undefine` command" }, { "from": "gpt", "value": "`virsh undefine --domain {{vm_name}}`" } ]
[ { "from": "human", "value": "Delete the configuration file and all associated storage volumes via the `virsh-undefine` command" }, { "from": "gpt", "value": "`virsh undefine --domain {{vm_name}} --remove-all-storage`" } ]
[ { "from": "human", "value": "Delete the configuration file and the specified storage volumes using the target name or the source name (as obtained from the `virsh domblklist` command) via the `virsh-undefine` command" }, { "from": "gpt", "value": "`virsh undefine --domain {{vm_name}} --storage {...
[ { "from": "human", "value": "Tell me about `virt-clone`." }, { "from": "gpt", "value": "Clone a libvirt virtual machine.\nMore information: <https://manned.org/virt-clone>.\n" } ]
[ { "from": "human", "value": "Clone a virtual machine and automatically generate a new name, storage path, and MAC address via the `virt-clone` command" }, { "from": "gpt", "value": "`virt-clone --original {{vm_name}} --auto-clone`" } ]
[ { "from": "human", "value": "Clone a virtual machine and specify the new name, storage path, and MAC address via the `virt-clone` command" }, { "from": "gpt", "value": "`virt-clone --original {{vm_name}} --name {{new_vm_name}} --file {{path/to/new_storage}} --mac {{ff:ff:ff:ff:ff:ff|RANDOM}}`" ...
[ { "from": "human", "value": "Tell me about `virt-install`." }, { "from": "gpt", "value": "Create virtual machines with libvirt and begin OS installation.\nMore information: <https://virt-manager.org/>.\n" } ]
[ { "from": "human", "value": "Create a virtual machine with 1 GB RAM and 12 GB storage and start a Debian installation via the `virt-install` command" }, { "from": "gpt", "value": "`virt-install --name {{vm_name}} --memory {{1024}} --disk path={{path/to/image.qcow2}},size={{12}} --cdrom {{path/to...
[ { "from": "human", "value": "Create a x86-64, KVM-accelerated, UEFI-based virtual machine with the Q35 chipset, 4 GiB RAM, 16 GiB RAW storage, and start a Fedora installation via the `virt-install` command" }, { "from": "gpt", "value": "`virt-install --name {{vm_name}} --arch {{x86_64}} --virt-t...
[ { "from": "human", "value": "Create a diskless live virtual machine without an emulated sound device or a USB controller. Don't start an installation and don't autoconnect to console but attach a cdrom to it (might be useful for when using a live CD like tails) via the `virt-install` command" }, { "...
[ { "from": "human", "value": "Create a virtual machine with 16 GiB RAM, 250 GiB storage, 8 cores with hyperthreading, a specific CPU topology, and a CPU model that shares most features with the host CPU via the `virt-install` command" }, { "from": "gpt", "value": "`virt-install --name {{vm_name}}...
[ { "from": "human", "value": "Create a virtual machine and kickstart an automated deployment based on Fedora 35 using only remote resources (no ISO required) via the `virt-install` command" }, { "from": "gpt", "value": "`virt-install --name {{vm_name}} --memory {{2048}} --disk path={{path/to/imag...
[ { "from": "human", "value": "Tell me about `virt-qemu-run`." }, { "from": "gpt", "value": "Experimental tool to run a QEMU Guest VM independent of `libvirtd`.\nMore information: <https://libvirt.org/manpages/virt-qemu-run.html>.\n" } ]
[ { "from": "human", "value": "Run a QEMU virtual machine via the `virt-qemu-run` command" }, { "from": "gpt", "value": "`virt-qemu-run {{path/to/guest.xml}}`" } ]
[ { "from": "human", "value": "Run a QEMU virtual machine and store the state in a specific directory via the `virt-qemu-run` command" }, { "from": "gpt", "value": "`virt-qemu-run --root={{path/to/directory}} {{path/to/guest.xml}}`" } ]
[ { "from": "human", "value": "Run a QEMU virtual machine and display verbose information about the startup via the `virt-qemu-run` command" }, { "from": "gpt", "value": "`virt-qemu-run --verbose {{path/to/guest.xml}}`" } ]
[ { "from": "human", "value": "Display help via the `virt-qemu-run` command" }, { "from": "gpt", "value": "`virt-qemu-run --help`" } ]
[ { "from": "human", "value": "Tell me about `virt-sparsify`." }, { "from": "gpt", "value": "Make virtual machine drive images thin-provisioned.\nNote: Use only for offline machines to avoid data corruption.\nMore information: <https://libguestfs.org>.\n" } ]
[ { "from": "human", "value": "Create a sparsified compressed image without snapshots from an unsparsified one via the `virt-sparsify` command" }, { "from": "gpt", "value": "`virt-sparsify --compress {{path/to/image.qcow2}} {{path/to/image_new.qcow2}}`" } ]
[ { "from": "human", "value": "Sparsify an image in-place via the `virt-sparsify` command" }, { "from": "gpt", "value": "`virt-sparsify --in-place {{path/to/image.img}}`" } ]
[ { "from": "human", "value": "Tell me about `virt-sysprep`." }, { "from": "gpt", "value": "Reset, unconfigure, or customize a virtual machine image.\nMore information: <https://manned.org/virt-sysprep>.\n" } ]
[ { "from": "human", "value": "List all supported operations (enabled operations are indicated with asterisks) via the `virt-sysprep` command" }, { "from": "gpt", "value": "`virt-sysprep --list-operations`" } ]
[ { "from": "human", "value": "Remove sensitive system data from a virtual machine image via the `virt-sysprep` command" }, { "from": "gpt", "value": "`sudo virt-sysprep {{[-a|--add]}} {{path/to/image.qcow2}}`" } ]
[ { "from": "human", "value": "Specify a virtual machine by its name and run all enabled operations but don't actually apply the changes via the `virt-sysprep` command" }, { "from": "gpt", "value": "`sudo virt-sysprep {{[-d|--domain]}} {{vm_name}} {{[-n|--dry-run]}}`" } ]
[ { "from": "human", "value": "Run only the specified operations via the `virt-sysprep` command" }, { "from": "gpt", "value": "`sudo virt-sysprep {{[-d|--domain]}} {{vm_name}} --operations {{operation1,operation2,...}}`" } ]
[ { "from": "human", "value": "Generate a new `/etc/machine-id` file and enable customizations to be able to change the host name to avoid network conflicts via the `virt-sysprep` command" }, { "from": "gpt", "value": "`sudo virt-sysprep {{[-d|--domain]}} {{vm_name}} --enable {{customizations}} --...
[ { "from": "human", "value": "Display help via the `virt-sysprep` command" }, { "from": "gpt", "value": "`virt-sysprep {{[-he|--help]}}`" } ]
[ { "from": "human", "value": "Tell me about `virtualenv`." }, { "from": "gpt", "value": "Create virtual isolated Python environments.\nMore information: <https://virtualenv.pypa.io/>.\n" } ]
[ { "from": "human", "value": "Create a new environment via the `virtualenv` command" }, { "from": "gpt", "value": "`virtualenv {{path/to/venv}}`" } ]
[ { "from": "human", "value": "Customize the prompt prefix via the `virtualenv` command" }, { "from": "gpt", "value": "`virtualenv --prompt={{prompt_prefix}} {{path/to/venv}}`" } ]
[ { "from": "human", "value": "Use a different version of Python with virtualenv via the `virtualenv` command" }, { "from": "gpt", "value": "`virtualenv --python={{path/to/pythonbin}} {{path/to/venv}}`" } ]
[ { "from": "human", "value": "Start (select) the environment via the `virtualenv` command" }, { "from": "gpt", "value": "`source {{path/to/venv}}/bin/activate`" } ]
[ { "from": "human", "value": "Stop the environment via the `virtualenv` command" }, { "from": "gpt", "value": "`deactivate`" } ]
[ { "from": "human", "value": "Tell me about `virtualenvwrapper`." }, { "from": "gpt", "value": "Group of simple wrapper commands for Python's `virtualenv` tool.\nMore information: <https://virtualenvwrapper.readthedocs.org>.\n" } ]
[ { "from": "human", "value": "Create a new Python `virtualenv` in `$WORKON_HOME` via the `virtualenvwrapper` command" }, { "from": "gpt", "value": "`mkvirtualenv {{virtualenv_name}}`" } ]
[ { "from": "human", "value": "Create a `virtualenv` for a specific Python version via the `virtualenvwrapper` command" }, { "from": "gpt", "value": "`mkvirtualenv --python {{/usr/local/bin/python3.8}} {{virtualenv_name}}`" } ]
[ { "from": "human", "value": "Activate or use a different `virtualenv` via the `virtualenvwrapper` command" }, { "from": "gpt", "value": "`workon {{virtualenv_name}}`" } ]
[ { "from": "human", "value": "Stop the `virtualenv` via the `virtualenvwrapper` command" }, { "from": "gpt", "value": "`deactivate`" } ]
[ { "from": "human", "value": "List all virtual environments via the `virtualenvwrapper` command" }, { "from": "gpt", "value": "`lsvirtualenv`" } ]
[ { "from": "human", "value": "Remove a `virtualenv` via the `virtualenvwrapper` command" }, { "from": "gpt", "value": "`rmvirtualenv {{virtualenv_name}}`" } ]
[ { "from": "human", "value": "Get summary of all virtualenvwrapper commands via the `virtualenvwrapper` command" }, { "from": "gpt", "value": "`virtualenvwrapper`" } ]
[ { "from": "human", "value": "Tell me about `visudo`." }, { "from": "gpt", "value": "Safely edit the sudoers file.\nMore information: <https://www.sudo.ws/docs/man/visudo.man>.\n" } ]
[ { "from": "human", "value": "Edit the sudoers file via the `visudo` command" }, { "from": "gpt", "value": "`sudo visudo`" } ]
[ { "from": "human", "value": "Check the sudoers file for errors via the `visudo` command" }, { "from": "gpt", "value": "`sudo visudo -c`" } ]
[ { "from": "human", "value": "Edit the sudoers file using a specific editor via the `visudo` command" }, { "from": "gpt", "value": "`sudo EDITOR={{editor}} visudo`" } ]
[ { "from": "human", "value": "Display version information via the `visudo` command" }, { "from": "gpt", "value": "`visudo --version`" } ]
[ { "from": "human", "value": "Tell me about `Vite`." }, { "from": "gpt", "value": "Create a Vite project.\nUsed to build JavaScript projects.\nAvailable templates: vanilla, vanilla-ts, vue, vue-ts, react, react-ts, react-swc, react-swc-ts, preact, preact-ts, lit, lit-ts, svelte, svelte-ts.\nMore ...
[ { "from": "human", "value": "Setup using `npm` 6.x via the `vite` command" }, { "from": "gpt", "value": "`npm create vite@latest my-react-app --template react-ts`" } ]