9f6bf3426e
Update snap for Train versions of the OpenStack Client and dependencies. Use core18 as the base for the snap. Drop misc commands that are no longer provided. Use python3 as the interpreter for snapcraft builds. Switch to microstack style LXD build with switch to core18 base. Change-Id: I2e3dc49c2ddb6889a3bf3738002d03cbc87fa644
17 lines
257 B
Bash
Executable File
17 lines
257 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
sudo apt update
|
|
|
|
export PATH=/snap/bin:$PATH
|
|
|
|
# Setup snapd and snapcraft
|
|
sudo apt install -y snapd
|
|
sudo snap install --classic snapcraft
|
|
sudo snap install --classic lxd
|
|
sudo lxd init --auto
|
|
|
|
# Build our snap!
|
|
sudo snapcraft --use-lxd
|