Use full path to dib-run-parts during firstboot.
Commit cc5ecb4e9c
switched from using
run-parts in favor of dib-run-parts.
/usr/local/bin isn't part of PATH on Ubuntu causing
"/usr/sbin/dib-first-boot: line 8: dib-run-parts: command not found".
Change-Id: Ia7e401221add197edf880af82e0148f3ba7d2b9c
This commit is contained in:
parent
92094ecdc5
commit
866c55dced
@ -5,7 +5,7 @@ set -o xtrace
|
||||
touch /var/log/first-boot.d.log
|
||||
chmod 0600 /var/log/first-boot.d.log
|
||||
|
||||
dib-run-parts /etc/first-boot.d >> /var/log/first-boot.d.log 2>&1
|
||||
/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
|
||||
|
Loading…
Reference in New Issue
Block a user