Commit 3d478a3f authored by Euan Kemp's avatar Euan Kemp

e2e_node: Improve coreos update disable mechanism

The previous method would still allow updates to download which slowed down tests due to the network / disk IO
parent 34996f1b
......@@ -41,6 +41,11 @@ EOF
sudo systemctl daemon-reload
fi
# For coreos, disable updates
if $(sudo systemctl status update-engine &>/dev/null); then
sudo systemctl mask update-engine locksmithd
fi
# Fixup sudoers require tty
sudo grep -q "# Defaults requiretty" /etc/sudoers
if [ $? -ne 0 ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment