p/fuel: ci/deploy.sh: Fix vgabios missing link 55/38555/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 1 Aug 2017 20:48:45 +0000 (22:48 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 1 Aug 2017 20:49:15 +0000 (22:49 +0200)
Creating vgabios's missing link in /usr/share/qemu requires sudo.

Change-Id: I34dbd55facbccf361d94fa8341e99b76d5bf6276
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
patches/opnfv-fuel/0005-deploy-Allow-non-root-deploys.patch

index 3b50079..1d86a17 100644 (file)
@@ -4,11 +4,11 @@ Subject: [PATCH] deploy: Allow non-root deploys
 
 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
 ---
- ci/deploy.sh | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
+ ci/deploy.sh | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
 
 diff --git a/ci/deploy.sh b/ci/deploy.sh
-index aec8048..c1ec31b 100755
+index aec8048..d676b76 100755
 --- a/ci/deploy.sh
 +++ b/ci/deploy.sh
 @@ -87,7 +87,7 @@ $(notify "Disabled input parameters (not yet supported with MCP):" 3)
@@ -38,8 +38,9 @@ index aec8048..c1ec31b 100755
 -[ -n "$(command -v apt-get)" ] && apt-get install -y \
 +[ -n "$(command -v apt-get)" ] && sudo apt-get install -y \
    git make rsync mkisofs curl virtinst cpu-checker qemu-kvm vgabios && \
-     ln -sf /usr/share/vgabios/vgabios.bin /usr/share/qemu/vgabios-stdvga.bin
+-    ln -sf /usr/share/vgabios/vgabios.bin /usr/share/qemu/vgabios-stdvga.bin
 -[ -n "$(command -v yum)" ] && yum install -y \
++    sudo ln -sf /usr/share/vgabios/vgabios.bin /usr/share/qemu/vgabios-stdvga.bin
 +[ -n "$(command -v yum)" ] && sudo yum install -y \
    git make rsync genisoimage curl virt-install qemu-kvm vgabios