diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-04-09 19:36:22 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-04-09 19:36:22 +0300 |
commit | 0a8d9d6ca1734518b016662b6fdd675c3395f010 (patch) | |
tree | cfd477ee4dca85940e8587a873f9db38b8dbbddb /vm-libvirt.sh | |
parent | 3bb3e85e95250618fdc6f2845bc300b34f94d725 (diff) | |
download | ick-contractor-0a8d9d6ca1734518b016662b6fdd675c3395f010.tar.gz |
Fix: script to create contractor under libvirt
Diffstat (limited to 'vm-libvirt.sh')
-rwxr-xr-x | vm-libvirt.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm-libvirt.sh b/vm-libvirt.sh index ea1ad27..f7c0705 100755 --- a/vm-libvirt.sh +++ b/vm-libvirt.sh @@ -53,10 +53,10 @@ verbose "Command line args OK" # Command line parameters: name of VM and image file. name="$1" image="$2" -workspace="$2" +workspace="$3" verbose "creating VM $name from image $image, using $workspace as workspace" -shift 2 +shift 3 # Does the image exist? if [ ! -e "$image" ] |