Skip to content

Commit c502310

Browse files
authored
Fixes #370, Put launch in non-interactive mode. (#371)
Exports noninteractive shell environment var (fixes #370)
1 parent 9c125ac commit c502310

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/lightsail/launch.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ f () {
6161
else
6262
echo Skipping swap allocation...
6363
fi
64+
65+
# Make sure we don't fail out if there is an interactive prompt... go with defaults
66+
export DEBIAN_FRONTEND=noninteractive
6467

6568
apt-get update -y
6669
apt-get dist-upgrade -y
@@ -122,4 +125,4 @@ f () {
122125

123126
f
124127
echo failure?
125-
exit 1
128+
exit 1

0 commit comments

Comments
 (0)