libguestfs requires read access to the current running kernel,
as described in [1].
While at it, install missing rename dependency.
[1] https://bugs.launchpad.net/fuel/+bug/
1467579
Change-Id: Ic0c9095e35dd740d48ddf83add530456a5cae92d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
- shell: |2-
#!/bin/bash -ex
if apt --version 2>1 >/dev/null; then
+ sudo chmod +r /boot/vmlinuz*
if ! docker --version 2>1 >/dev/null; then
sudo apt update
- sudo apt install -y apt-transport-https ca-certificates curl software-properties-common
+ sudo apt install -y apt-transport-https ca-certificates curl software-properties-common rename
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository -y "deb http://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update