mirror of
https://github.com/mitchell/dotfiles.git
synced 2026-08-10 08:09:35 +00:00
feat(fish): add vclone function
This commit is contained in:
parent
9abd76516a
commit
080e4fcd5f
1 changed files with 4 additions and 0 deletions
4
fish/dot-config/fish/functions/vclone.fish
Normal file
4
fish/dot-config/fish/functions/vclone.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
function vclone -a source image -d 'Clones and resizes a VM image to 40G'
|
||||||
|
virsh vol-clone $source $image default
|
||||||
|
virsh vol-resize $image 40G default
|
||||||
|
end
|
||||||
Loading…
Add table
Add a link
Reference in a new issue