16be6d7ce0
As with the previous similar changes, this is intended to catch problems as they happen instead of ignoring them and continuing on to potentially fail later. Setting this on all existing scripts will allow us to enforce use via Jenkins. Change-Id: Iad2d490c86dceab148ea9ab08f457c49a5d5352e
12 lines
249 B
Bash
Executable file
12 lines
249 B
Bash
Executable file
#!/bin/bash
|
|
set -eu
|
|
set -o pipefail
|
|
set -o xtrace
|
|
|
|
touch /var/log/first-boot.d.log
|
|
chmod 0600 /var/log/first-boot.d.log
|
|
|
|
/usr/local/bin/dib-run-parts /etc/first-boot.d >> /var/log/first-boot.d.log 2>&1
|
|
rm -fr /etc/first-boot.d
|
|
# delete itself
|
|
rm $0
|