Disable unnatendded upgrades
oginstaller/pipeline/head There was a failure building this commit
Details
oginstaller/pipeline/head There was a failure building this commit
Details
parent
aa2cbc5998
commit
43a2425f58
|
@ -30,6 +30,10 @@ GITEA_USER = ENV['GITEA_USER'] || 'unizar'
|
|||
SSH_GIT_KEY_PASS = ENV['SSH_GIT_KEY_PASS'] || ''
|
||||
|
||||
OGSERVERSCRIPT = <<OEOL
|
||||
sed -i 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/g' /etc/apt/apt.conf.d/20auto-upgrades
|
||||
sed -i 's/APT::Periodic::Unattended-Upgrade "1";/APT::Periodic::Unattended-Upgrade "0";/g' /etc/apt/apt.conf.d/20auto-upgrades
|
||||
echo "APT::Periodic::Download-Upgradeable-Packages "0";" >> /etc/apt/apt.conf.d/20auto-upgrades
|
||||
echo "APT::Periodic::AutocleanInterval "0"; >> /etc/apt/apt.conf.d/20auto-upgrades
|
||||
export GIT_SSL_NO_VERIFY=1
|
||||
export INTERFACE="eth0"
|
||||
apt -y update
|
||||
|
@ -45,8 +49,6 @@ cp -r component-installer/* /tmp/oginstall
|
|||
chmod 755 /tmp/oginstall/*.sh
|
||||
chmod 755 /tmp/oginstall/*.py
|
||||
cp /vagrant/config/config_* /tmp/oginstall/
|
||||
|
||||
|
||||
OEOL
|
||||
|
||||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
|
|
Loading…
Reference in New Issue