Browse Source

remove pipe to /dev/null

The check for the genisoimage application didn't work.  Piping the output of which to /dev/null results in an empty string, and will always be "false".
pull/25/head
Nicky Geerts 7 years ago committed by GitHub
parent
commit
c677ac51b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      kvm-install-vm

2
kvm-install-vm

@ -503,7 +503,7 @@ _EOF_
# Create CD-ROM ISO with cloud-init config
outputn "Generating ISO for cloud-init"
if [ `which genisoimage &>/dev/null` ]
if [ -e `which genisoimage` ]
then
genisoimage -output $CI_ISO \
-volid cidata \

Loading…
Cancel
Save