microstack/tools/install_and_build.sh
Pete Vander Giessen 65441d5b2a Added core18 snap path to PATH.
This should fix the issue where the configure hook doesn't run
properly on systems without netcat installed.

Also got rid of call to install netcat in tools/install_and_build.sh.

Doubled timeout in .zuul.yaml to deal with timeout that happened
during this test (I think that we were pushing the hour timeout as it was).

Change-Id: Ie9cd729109a871c32c12108163d22008d91155f9
2019-07-24 19:59:43 +00:00

15 lines
211 B
Bash
Executable File

#!/bin/bash
set -ex
export PATH=/snap/bin:$PATH
sudo apt update
sudo apt install -y snapd
sudo snap install --classic snapcraft
sudo snap install --classic lxd
sudo lxd init --auto
sudo snapcraft --use-lxd