https://github.com/calebstewart/virt-create
Simple text dialog to quickly create VMs with virt-create
https://github.com/calebstewart/virt-create
Last synced: about 1 month ago
JSON representation
Simple text dialog to quickly create VMs with virt-create
- Host: GitHub
- URL: https://github.com/calebstewart/virt-create
- Owner: calebstewart
- Created: 2019-11-29T17:49:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-30T23:08:56.000Z (over 5 years ago)
- Last Synced: 2025-01-29T13:46:44.864Z (3 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# virt-create
A simple script that uses the linux `dialog` tool to provide a terminal dialog
sequence for quickly creating KVM libvirt domains. It will prompt for the
following options and attempt to start an unattended install of your VM:- VM name
- RAM Size (in MB)
- Number of virtual CPUs
- Primary disk size
- Installation media (ISO file, uses `dialog --fselect`)
- User password for unattended install
- Network (enumerates available networks and state from `virsh net-list`
- OS Variant for unattended install (enumerates valid options from
`osinfo-query`)It will prompt one last time before creating the VM to ensure you are sure you
want to create the specified VM, and then will begin the installation using
`virt-install`. By default, this will launch `virt-viewer` to view the
installation process. After installation has completed, you can close
`virt-viewer` which will end the script.You can also bypass the first prompt by passing the intended VM name as the
first parameter to the script (e.g. `virt-create snazzy-domain`).