Code Review
/
releng
/
builder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
84900b1
)
Merge "Disable automatic system updates on Ubuntu"
author
Thanh Ha
<thanh.ha@linuxfoundation.org>
Fri, 20 Jan 2017 14:32:40 +0000
(14:32 +0000)
committer
Gerrit Code Review
<gerrit@opendaylight.org>
Fri, 20 Jan 2017 14:32:40 +0000
(14:32 +0000)
packer/provision/baseline.sh
patch
|
blob
|
history
diff --git
a/packer/provision/baseline.sh
b/packer/provision/baseline.sh
index 7eca1cabd5cd15ef14bf7f73ef9368c2a7df93ae..976cf4cf6c1dc820f62c213f56b455a3d834f4ea 100644
(file)
--- a/
packer/provision/baseline.sh
+++ b/
packer/provision/baseline.sh
@@
-149,6
+149,11
@@
EOF
# install haveged to avoid low entropy rejecting ssh connections
apt-get install haveged
update-rc.d haveged defaults
+
+ # disable unattended upgrades & daily updates
+ echo '---> Disabling automatic daily upgrades'
+ sed -ine 's/"1"/"0"/g' /etc/apt/apt.conf.d/10periodic
+ echo 'APT::Periodic::Unattended-Upgrade "0";' >> /etc/apt/apt.conf.d/10periodic
}
all_systems() {