OpenStack in a snap!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
426 B

  1. #!/bin/bash
  2. set -ex
  3. export PATH=/snap/bin:$PATH
  4. sudo apt update
  5. # Install the X virtual framebuffer, which is required for selenium
  6. # tests of the horizon dashboard.
  7. sudo apt install -y xvfb npm libfontconfig1
  8. sudo npm install -g phantomjs-prebuilt
  9. # Verify that PhantomJS, our selenium web driver, works.
  10. phantomjs -v
  11. sudo snap install --classic snapcraft
  12. sudo snap install --classic --beta multipass
  13. snapcraft --debug