diff --git a/cmd/console b/cmd/console index f1a056d..ab9188b 100644 --- a/cmd/console +++ b/cmd/console @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash/ # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/cmd/kill b/cmd/kill index cfd97de..93ae7c2 100644 --- a/cmd/kill +++ b/cmd/kill @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/cmd/log b/cmd/log index 0269306..34c5451 100644 --- a/cmd/log +++ b/cmd/log @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/cmd/monitor b/cmd/monitor index 4f7161b..b5d71fc 100644 --- a/cmd/monitor +++ b/cmd/monitor @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/cmd/poweroff b/cmd/poweroff index f324aa8..56bafc4 100644 --- a/cmd/poweroff +++ b/cmd/poweroff @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/cmd/run b/cmd/run index 31968dd..b7b266c 100644 --- a/cmd/run +++ b/cmd/run @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/cmd/ssh b/cmd/ssh index 63b4a82..e8d9506 100644 --- a/cmd/ssh +++ b/cmd/ssh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/cmd/vars b/cmd/vars index ee8262c..1fde104 100644 --- a/cmd/vars +++ b/cmd/vars @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/common/defaults b/common/defaults index 9548587..9d77500 100644 --- a/common/defaults +++ b/common/defaults @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/common/rc b/common/rc index 295a60e..d7453d0 100644 --- a/common/rc +++ b/common/rc @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/common/shellcheck b/common/shellcheck index c5ecbfc..73629e8 100644 --- a/common/shellcheck +++ b/common/shellcheck @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/contrib/generate-cloud-config-seed-freebsd.sh b/contrib/generate-cloud-config-seed-freebsd.sh index 26d0fbd..2742a38 100755 --- a/contrib/generate-cloud-config-seed-freebsd.sh +++ b/contrib/generate-cloud-config-seed-freebsd.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later set -euo pipefail diff --git a/contrib/generate-cloud-config-seed.sh b/contrib/generate-cloud-config-seed.sh index 9a3e52f..1db50fd 100755 --- a/contrib/generate-cloud-config-seed.sh +++ b/contrib/generate-cloud-config-seed.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later set -euo pipefail diff --git a/examples/vm/aarch64-virt-base.conf b/examples/vm/aarch64-virt-base.conf index 7be1be9..51a23db 100644 --- a/examples/vm/aarch64-virt-base.conf +++ b/examples/vm/aarch64-virt-base.conf @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Q35-based base vm config # diff --git a/examples/vm/common.conf b/examples/vm/common.conf index fd5e9af..90e257e 100644 --- a/examples/vm/common.conf +++ b/examples/vm/common.conf @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # vmctl run parameters QEMU_IMG=$(/usr/bin/which qemu-img) diff --git a/examples/vm/nvme-aarch64.conf b/examples/vm/nvme-aarch64.conf index 25f2e8a..1a33d93 100644 --- a/examples/vm/nvme-aarch64.conf +++ b/examples/vm/nvme-aarch64.conf @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash QEMU_SYSTEM_AARCH64=$(/usr/bin/which qemu-system-aarch64) GUEST_BOOT_BASE="img/debian-13-genericcloud-arm64.qcow2" diff --git a/examples/vm/nvme-cortex-a57.conf b/examples/vm/nvme-cortex-a57.conf index fb32152..960dc92 100644 --- a/examples/vm/nvme-cortex-a57.conf +++ b/examples/vm/nvme-cortex-a57.conf @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash GUEST_BOOT_BASE="img/debian-13-genericcloud-arm64.qcow2" GUEST_CPU="cortex-a57" diff --git a/examples/vm/nvme-vfio.conf b/examples/vm/nvme-vfio.conf index 4fa8a28..f31dbf8 100644 --- a/examples/vm/nvme-vfio.conf +++ b/examples/vm/nvme-vfio.conf @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source "x86_64-q35-base.conf" diff --git a/examples/vm/nvme.conf b/examples/vm/nvme.conf index 5974f31..495d4f5 100644 --- a/examples/vm/nvme.conf +++ b/examples/vm/nvme.conf @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash QEMU_SYSTEM_X86_64=$(/usr/bin/which qemu-system-x86_64) diff --git a/examples/vm/subsys.conf b/examples/vm/subsys.conf index 8de213b..074a079 100644 --- a/examples/vm/subsys.conf +++ b/examples/vm/subsys.conf @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source "x86_64-q35-base.conf" diff --git a/examples/vm/x86_64-q35-base.conf b/examples/vm/x86_64-q35-base.conf index 5a03d3b..16d7c43 100644 --- a/examples/vm/x86_64-q35-base.conf +++ b/examples/vm/x86_64-q35-base.conf @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Q35-based base vm config # diff --git a/examples/vm/zns.conf b/examples/vm/zns.conf index ab1db62..88919b8 100644 --- a/examples/vm/zns.conf +++ b/examples/vm/zns.conf @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # use the same boot image as the nvme configuration GUEST_BOOT="img/nvme.qcow2" diff --git a/lib/qemu/nvme b/lib/qemu/nvme index ff06299..0885207 100644 --- a/lib/qemu/nvme +++ b/lib/qemu/nvme @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/lib/qemu/pcie b/lib/qemu/pcie index daec6c4..2296baa 100644 --- a/lib/qemu/pcie +++ b/lib/qemu/pcie @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/lib/qemu/rc b/lib/qemu/rc index 533db9f..b142028 100644 --- a/lib/qemu/rc +++ b/lib/qemu/rc @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # diff --git a/vmctl-init-conf b/vmctl-init-conf index 434e165..5fba7ff 100755 --- a/vmctl-init-conf +++ b/vmctl-init-conf @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-late # # Run source vmctl-init-conf