mirror of https://github.com/apache/cloudstack.git
Resolve issue with build script for systemvm hanging due to libssl waiting on a input prompt caused by apt-get update
This commit is contained in:
parent
156bd9b885
commit
62eb0d8195
|
|
@ -1,8 +1,12 @@
|
|||
# Update the box
|
||||
apt-get -y update
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
export DEBIAN_PRIORITY=critical
|
||||
|
||||
apt-get -q -y --force-yes update
|
||||
#apt-get -y install linux-headers-$(uname -r) build-essential
|
||||
#apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev
|
||||
apt-get -y install curl unzip
|
||||
apt-get -q -y --force-yes install curl unzip
|
||||
apt-get clean
|
||||
|
||||
# Set up sudo
|
||||
echo 'vagrant ALL=NOPASSWD:/bin/chmod, /bin/cp, /bin/mkdir, /bin/mount, /bin/umount' > /etc/sudoers.d/vagrant
|
||||
|
|
|
|||
|
|
@ -334,6 +334,11 @@ d-i finish-install/reboot_in_progress note
|
|||
# debconf-get-selections --installer > file
|
||||
# debconf-get-selections >> file
|
||||
|
||||
libssl1.0.0 libssl1.0.0/restart-services string
|
||||
libssl1.0.0:amd64 libssl1.0.0/restart-services string
|
||||
|
||||
libssl1.0.0 libssl1.0.0/restart-failed error
|
||||
libssl1.0.0:amd64 libssl1.0.0/restart-failed error
|
||||
|
||||
#### Advanced options
|
||||
### Running custom commands during the installation
|
||||
|
|
|
|||
|
|
@ -1,9 +1,13 @@
|
|||
# Update the box
|
||||
apt-get -y update
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
export DEBIAN_PRIORITY=critical
|
||||
|
||||
apt-get -q -y --force-yes update
|
||||
#below are needed for ruby perhaps
|
||||
#apt-get -y install linux-headers-$(uname -r) build-essential
|
||||
#apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev
|
||||
apt-get -y install curl unzip
|
||||
apt-get -q -y --force-yes install curl unzip
|
||||
|
||||
apt-get clean
|
||||
|
||||
# Set up sudo, TODO: Check security concerns
|
||||
|
|
|
|||
|
|
@ -335,6 +335,12 @@ d-i finish-install/reboot_in_progress note
|
|||
# debconf-get-selections >> file
|
||||
|
||||
|
||||
libssl1.0.0 libssl1.0.0/restart-services string
|
||||
libssl1.0.0:i386 libssl1.0.0/restart-services string
|
||||
|
||||
libssl1.0.0 libssl1.0.0/restart-failed error
|
||||
libssl1.0.0:i386 libssl1.0.0/restart-failed error
|
||||
|
||||
#### Advanced options
|
||||
### Running custom commands during the installation
|
||||
# d-i preseeding is inherently not secure. Nothing in the installer checks
|
||||
|
|
|
|||
Loading…
Reference in New Issue