Skip to content

Commit 12e552b

Browse files
imduffy15ynojima
authored andcommitted
Resolve issue with build script for systemvm hanging due to libssl waiting on a input prompt caused by apt-get update
1 parent da5ad74 commit 12e552b

5 files changed

Lines changed: 23 additions & 4 deletions

File tree

‎tools/appliance/build.sh‎

100644100755
File mode changed.

‎tools/appliance/definitions/systemvm64template/base.sh‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Update the box
2-
apt-get -y update
3-
apt-get -y install curl unzip
2+
3+
export DEBIAN_FRONTEND=noninteractive
4+
export DEBIAN_PRIORITY=critical
5+
6+
apt-get -q -y --force-yes update
7+
apt-get -q -y --force-yes install curl unzip
48
apt-get clean
59

610
# Set up sudo, TODO: Check security concerns

‎tools/appliance/definitions/systemvm64template/preseed.cfg‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,11 @@ d-i finish-install/reboot_in_progress note
334334
# debconf-get-selections --installer > file
335335
# debconf-get-selections >> file
336336

337+
libssl1.0.0 libssl1.0.0/restart-services string
338+
libssl1.0.0:amd64 libssl1.0.0/restart-services string
339+
340+
libssl1.0.0 libssl1.0.0/restart-failed error
341+
libssl1.0.0:amd64 libssl1.0.0/restart-failed error
337342

338343
#### Advanced options
339344
### Running custom commands during the installation

‎tools/appliance/definitions/systemvmtemplate/base.sh‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Update the box
2-
apt-get -y update
3-
apt-get -y install curl unzip
2+
3+
export DEBIAN_FRONTEND=noninteractive
4+
export DEBIAN_PRIORITY=critical
5+
6+
apt-get -q -y --force-yes update
7+
apt-get -q -y --force-yes install curl unzip
48
apt-get clean
59

610
# Set up sudo, TODO: Check security concerns

‎tools/appliance/definitions/systemvmtemplate/preseed.cfg‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,12 @@ d-i finish-install/reboot_in_progress note
335335
# debconf-get-selections >> file
336336

337337

338+
libssl1.0.0 libssl1.0.0/restart-services string
339+
libssl1.0.0:i386 libssl1.0.0/restart-services string
340+
341+
libssl1.0.0 libssl1.0.0/restart-failed error
342+
libssl1.0.0:i386 libssl1.0.0/restart-failed error
343+
338344
#### Advanced options
339345
### Running custom commands during the installation
340346
# d-i preseeding is inherently not secure. Nothing in the installer checks

0 commit comments

Comments
 (0)