/bin/bash all the things.

Since we are using bash syntax in some of the element fragments,
we should make sure we use bash for all of them, so that things don't
break on systems where /bin/sh != /bin/bash.

Change-Id: If2f043c57aa4e1492b7f9839213ef6123f683612
This commit is contained in:
Victor Lowther 2013-11-06 22:25:34 -06:00
parent 5387b01af9
commit 43b70ce224
23 changed files with 25 additions and 23 deletions

View file

@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/bash
install-packages dkms

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
home=$(dirname $0)
set -uex

View file

@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/bash
install-packages kexec-tools

View file

@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/bash
install-packages tgt

View file

@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/bash
install-packages busybox

View file

@ -1,4 +1,6 @@
#!/bin/sh -x
#!/bin/bash
set -x
# Prepare the target system for regenerating /etc/network/interfaces
# on its first boot.

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Trigger a run of dkms for all the modules installed
# to ensure we have valid modules build for all.

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Prevent apt from installing recommended packages
dd of=/etc/apt/apt.conf.d/95disable-recommends << _EOF_

View file

@ -1,3 +1,3 @@
#!/bin/sh
#!/bin/bash
install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# If the patch doesn't apply just do nothing. This patch fixes a small
# issue in the script that writes the network configuration files from

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e
set -x

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# zeroconf should not be activated or it will add a 169.254.0.0
# route. The route will interfere with access to the nova metadata

View file

@ -1,3 +1,3 @@
#!/bin/sh
#!/bin/bash
install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
if [ "i386" = "$ARCH" ]; then
basearch=i386

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
echo "SELINUX=permissive" > /etc/selinux/config
echo "SELINUXTYPE=targeted" >> /etc/selinux/config

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
home=$(dirname $0)
set -uex

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -uex

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# This package is broken and causes real issues on update:
# https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1227420
apt-get --yes remove apt-xapian-index || :

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e