diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-08-01 22:48:45 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-08-01 22:49:15 +0200 |
commit | 45bc407e1d6986bc6757f210919c03f07184982f (patch) | |
tree | c719d239b16f3ba018e2f6dcda8725f1dffc076c /patches | |
parent | 3b9772e79d5794422533034540ef3620aaf46d6f (diff) |
p/fuel: ci/deploy.sh: Fix vgabios missing link
Creating vgabios's missing link in /usr/share/qemu requires sudo.
Change-Id: I34dbd55facbccf361d94fa8341e99b76d5bf6276
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/opnfv-fuel/0005-deploy-Allow-non-root-deploys.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/patches/opnfv-fuel/0005-deploy-Allow-non-root-deploys.patch b/patches/opnfv-fuel/0005-deploy-Allow-non-root-deploys.patch index 3b50079f..1d86a17c 100644 --- a/patches/opnfv-fuel/0005-deploy-Allow-non-root-deploys.patch +++ b/patches/opnfv-fuel/0005-deploy-Allow-non-root-deploys.patch @@ -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 |