I executed launch.sh from the directory where it is placed.
Below is the detailed transcript of what I have done.
### Quick Start scripts are placed in /cygdrive/c/FuelISOBugReport/vbox-scripts-5.1/virtualbox/
$ cd /cygdrive/c/FuelISOBugReport/vbox-scripts-5.1/virtualbox/
123@123-VAIO /cygdrive/c/FuelISOBugReport/vbox-scripts-5.1/virtualbox
$ ls .
actions config.sh.bak iso launch_16GB.sh launch_8GB.sh
config.sh functions launch.sh launch_4GB.sh README.md
### Fuel ISO is placed into iso folder
123@123-VAIO /cygdrive/c/FuelISOBugReport/vbox-scripts-5.1/virtualbox
$ ls ./iso/
MirantisOpenStack-5.1.iso README.md
### Start launch.sh from the directory where it is installed
### It prints error message
123@123-VAIO /cygdrive/c/FuelISOBugReport/vbox-scripts-5.1/virtualbox
$ ./launch.sh
Load properties from file /cygdrive/c/FuelISOBugReport/vbox-scripts-5.1/virtualbox/actions/../config//config.properties
sed: невозможно прочитать /cygdrive/c/FuelISOBugReport/vbox-scripts-5.1/virtualbox/actions/../config//config.properties: No such file or directory
sed: невозможно прочитать /cygdrive/c/FuelISOBugReport/vbox-scripts-5.1/virtualbox/actions/../config//config.properties: No such file or directory
sed: невозможно прочитать /cygdrive/c/FuelISOBugReport/vbox-scripts-5.1/virtualbox/actions/../config//config.properties: No such file or directory
sed: невозможно прочитать /cygdrive/c/FuelISOBugReport/vbox-scripts-5.1/virtualbox/actions/../config//config.properties: No such file or directory
Checking for 'expect'... OK
If you run this script under Cygwin, you may have to add path to VirtualBox directory to your PATH.
Usually it is enough to run "export PATH=$PATH:"/cygdrive/c/Program Files/Oracle/VirtualBox"
Checking for "VBoxManage"... OK
Checking for VirtualBox Extension Pack... OK
Checking for Mirantis OpenStack ISO image... Mirantis OpenStack image is not found. Please download it and put under 'iso' directory.
### Replace expressions like "source foo/bar.sh" with "source ./foo/bar.sh" in all the sh scripts (added "./")
123@123-VAIO /cygdrive/c/FuelISOBugReport/vbox-scripts-5.1/virtualbox
$ find . -type f -name "*.sh" -exec sed 's/source /source .\//' -i {} \;
### Run launch.sh again
### This time it works as expected
123@123-VAIO /cygdrive/c/FuelISOBugReport/vbox-scripts-5.1/virtualbox
$ ./launch.sh
Checking for 'expect'... OK
If you run this script under Cygwin, you may have to add path to VirtualBox directory to your PATH.
Usually it is enough to run "export PATH=$PATH:"/cygdrive/c/Program Files/Oracle/VirtualBox"
Checking for "VBoxManage"... OK
Checking for VirtualBox Extension Pack... OK
Checking for Mirantis OpenStack ISO image... OK
Going to use Mirantis OpenStack ISO file iso/MirantisOpenStack-5.1.iso
Checking if SSH client installed...
OK
Checking if ipconfig or ifconfig installed...
OK
Setup is done.
### The rest of the output is omitted
I executed launch.sh from the directory where it is placed.
Below is the detailed transcript of what I have done.
### Quick Start scripts are placed in /cygdrive/ c/FuelISOBugRep ort/vbox- scripts- 5.1/virtualbox/ c/FuelISOBugRep ort/vbox- scripts- 5.1/virtualbox/
$ cd /cygdrive/
123@123-VAIO /cygdrive/ c/FuelISOBugRep ort/vbox- scripts- 5.1/virtualbox
$ ls .
actions config.sh.bak iso launch_16GB.sh launch_8GB.sh
config.sh functions launch.sh launch_4GB.sh README.md
### Fuel ISO is placed into iso folder c/FuelISOBugRep ort/vbox- scripts- 5.1/virtualbox ck-5.1. iso README.md
123@123-VAIO /cygdrive/
$ ls ./iso/
MirantisOpenSta
### Start launch.sh from the directory where it is installed c/FuelISOBugRep ort/vbox- scripts- 5.1/virtualbox c/FuelISOBugRep ort/vbox- scripts- 5.1/virtualbox/ actions/ ../config/ /config. properties c/FuelISOBugRep ort/vbox- scripts- 5.1/virtualbox/ actions/ ../config/ /config. properties: No such file or directory c/FuelISOBugRep ort/vbox- scripts- 5.1/virtualbox/ actions/ ../config/ /config. properties: No such file or directory c/FuelISOBugRep ort/vbox- scripts- 5.1/virtualbox/ actions/ ../config/ /config. properties: No such file or directory c/FuelISOBugRep ort/vbox- scripts- 5.1/virtualbox/ actions/ ../config/ /config. properties: No such file or directory "/cygdrive/ c/Program Files/Oracle/ VirtualBox"
### It prints error message
123@123-VAIO /cygdrive/
$ ./launch.sh
Load properties from file /cygdrive/
sed: невозможно прочитать /cygdrive/
sed: невозможно прочитать /cygdrive/
sed: невозможно прочитать /cygdrive/
sed: невозможно прочитать /cygdrive/
Checking for 'expect'... OK
If you run this script under Cygwin, you may have to add path to VirtualBox directory to your PATH.
Usually it is enough to run "export PATH=$PATH:
Checking for "VBoxManage"... OK
Checking for VirtualBox Extension Pack... OK
Checking for Mirantis OpenStack ISO image... Mirantis OpenStack image is not found. Please download it and put under 'iso' directory.
### Replace expressions like "source foo/bar.sh" with "source ./foo/bar.sh" in all the sh scripts (added "./") c/FuelISOBugRep ort/vbox- scripts- 5.1/virtualbox
123@123-VAIO /cygdrive/
$ find . -type f -name "*.sh" -exec sed 's/source /source .\//' -i {} \;
### Run launch.sh again c/FuelISOBugRep ort/vbox- scripts- 5.1/virtualbox "/cygdrive/ c/Program Files/Oracle/ VirtualBox" nStack- 5.1.iso
### This time it works as expected
123@123-VAIO /cygdrive/
$ ./launch.sh
Checking for 'expect'... OK
If you run this script under Cygwin, you may have to add path to VirtualBox directory to your PATH.
Usually it is enough to run "export PATH=$PATH:
Checking for "VBoxManage"... OK
Checking for VirtualBox Extension Pack... OK
Checking for Mirantis OpenStack ISO image... OK
Going to use Mirantis OpenStack ISO file iso/MirantisOpe
Checking if SSH client installed...
OK
Checking if ipconfig or ifconfig installed...
OK
Setup is done.
### The rest of the output is omitted