summaryrefslogtreecommitdiffstats
path: root/tools/ubuntu-server-cloudimg-modify.sh
diff options
context:
space:
mode:
authorJing Lu <lvjing5@huawei.com>2017-03-13 03:53:00 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-13 03:53:00 +0000
commitd5b9e8f73ab6c5020729f0e38c4337d56f9719ee (patch)
tree394c2e69366133600ed4d430a01db42618e4252a /tools/ubuntu-server-cloudimg-modify.sh
parenta8298ad4738a6a0b45728bb6c73b6d21bc7c4350 (diff)
parent8a2b7cdb29ff6a56d06e8f83fc098def40e1ed51 (diff)
Merge "ubuntu-server-cloudimg-modify.sh: shellcheck fixes"
Diffstat (limited to 'tools/ubuntu-server-cloudimg-modify.sh')
-rwxr-xr-xtools/ubuntu-server-cloudimg-modify.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ubuntu-server-cloudimg-modify.sh b/tools/ubuntu-server-cloudimg-modify.sh
index b0b0902f5..f0e2b4baa 100755
--- a/tools/ubuntu-server-cloudimg-modify.sh
+++ b/tools/ubuntu-server-cloudimg-modify.sh
@@ -48,7 +48,7 @@ EOF
apt-get update
if [[ "${YARD_IMG_ARCH}" = "arm64" && "$release" = "vivid" ]]; then
apt-get install -y \
- linux-headers-$(echo $CLOUD_KERNEL_VERSION | cut -d'-' -f3,4,5) \
+ linux-headers-"$(echo ${CLOUD_KERNEL_VERSION} | cut -d'-' -f3,4,5)" \
unzip
#resize root partition (/dev/vdb1) It is supposed to be default but the image is booted differently for arm64
cat <<EOF >/etc/cloud/cloud.cfg.d/15_growpart.cfg