Created
July 5, 2017 17:51
-
-
Save niedbalski/d71defd9ffd19cb7f59e0f9e6f5aa349 to your computer and use it in GitHub Desktop.
Create ISO libvirt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| size=$(stat -Lc%s centos.iso) | |
| virsh vol-create-as default centos $size --format raw | |
| virsh vol-upload --pool default centos centos.iso |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment