Fix test vagrantfiles and create missing xo-builds directory in xo-install.sh for new installations
This commit is contained in:
4
tests/CentOS/Vagrantfile
vendored
4
tests/CentOS/Vagrantfile
vendored
@@ -43,6 +43,6 @@ Vagrant.configure(2) do |config|
|
|||||||
#
|
#
|
||||||
# Run automated test installation
|
# Run automated test installation
|
||||||
#
|
#
|
||||||
config.vm.provision "install", type: "shell", path: "../../xo-install.sh", args: "--install", run: "never"
|
config.vm.provision "install", type: "shell", inline: "/vagrant/xo-install.sh --install", run: "never"
|
||||||
config.vm.provision "update", type: "shell", path: "../../xo-install.sh", args: "--update", run: "never"
|
config.vm.provision "update", type: "shell", inline: "/vagrant/xo-install.sh --update", run: "never"
|
||||||
end
|
end
|
||||||
|
4
tests/Debian/Vagrantfile
vendored
4
tests/Debian/Vagrantfile
vendored
@@ -43,6 +43,6 @@ Vagrant.configure(2) do |config|
|
|||||||
#
|
#
|
||||||
# Run automated test installation
|
# Run automated test installation
|
||||||
#
|
#
|
||||||
config.vm.provision "install", type: "shell", path: "../../xo-install.sh", args: "--install", run: "never"
|
config.vm.provision "install", type: "shell", inline: "/vagrant/xo-install.sh --install", run: "never"
|
||||||
config.vm.provision "update", type: "shell", path: "../../xo-install.sh", args: "--update", run: "never"
|
config.vm.provision "update", type: "shell", inline: "/vagrant/xo-install.sh --update", run: "never"
|
||||||
end
|
end
|
||||||
|
4
tests/Ubuntu/Vagrantfile
vendored
4
tests/Ubuntu/Vagrantfile
vendored
@@ -43,6 +43,6 @@ Vagrant.configure(2) do |config|
|
|||||||
#
|
#
|
||||||
# Run automated test installation
|
# Run automated test installation
|
||||||
#
|
#
|
||||||
config.vm.provision "install", type: "shell", path: "../../xo-install.sh", args: "--install", run: "never"
|
config.vm.provision "install", type: "shell", inline: "/vagrant/xo-install.sh --install", run: "never"
|
||||||
config.vm.provision "update", type: "shell", path: "../../xo-install.sh", args: "--update", run: "never"
|
config.vm.provision "update", type: "shell", inline: "/vagrant/xo-install.sh --update", run: "never"
|
||||||
end
|
end
|
||||||
|
@@ -263,6 +263,12 @@ function InstallXO {
|
|||||||
mkdir -p "$INSTALLDIR"
|
mkdir -p "$INSTALLDIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Create missing xo-builds directory if doesn't exist already
|
||||||
|
if [[ ! -d "$INSTALLDIR/xo-builds" ]]; then
|
||||||
|
echo "Creating missing xo-builds directory to $INSTALLDIR/xo-builds"
|
||||||
|
mkdir "$INSTALLDIR/xo-builds"
|
||||||
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Fetching Xen Orchestra source code ..."
|
echo "Fetching Xen Orchestra source code ..."
|
||||||
echo
|
echo
|
||||||
|
Reference in New Issue
Block a user