diff options
author | Jing Lu <lvjing5@huawei.com> | 2017-03-13 03:53:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-13 03:53:00 +0000 |
commit | d5b9e8f73ab6c5020729f0e38c4337d56f9719ee (patch) | |
tree | 394c2e69366133600ed4d430a01db42618e4252a | |
parent | a8298ad4738a6a0b45728bb6c73b6d21bc7c4350 (diff) | |
parent | 8a2b7cdb29ff6a56d06e8f83fc098def40e1ed51 (diff) |
Merge "ubuntu-server-cloudimg-modify.sh: shellcheck fixes"
-rwxr-xr-x | tools/ubuntu-server-cloudimg-modify.sh | 2 |
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 |