Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit cb599da

Browse files
committed
hack/quickstart: Mask locksmithd instead of update-engine
update-engine was initially masked to prevent the servers from rebooting, when testing. This caused locksmithd to restart forever and spam the system log, as it depend on the update-engine. With this change, the system would update but won't reboot automatic.
1 parent efb0e91 commit cb599da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hack/quickstart/init-master.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ EOF
5050
# Initialize a Master node
5151
function init_master_node() {
5252
systemctl daemon-reload
53-
systemctl stop update-engine; systemctl mask update-engine
53+
systemctl stop locksmithd; systemctl mask locksmithd
5454

5555
if [ "$SELF_HOST_ETCD" = true ] ; then
5656
echo "WARNING: THIS IS NOT YET FULLY WORKING - merely here to make ongoing testing easier"

hack/quickstart/init-node.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function init_worker_node() {
3333

3434
# Start services
3535
systemctl daemon-reload
36-
systemctl stop update-engine; systemctl mask update-engine
36+
systemctl stop locksmithd; systemctl mask locksmithd
3737
systemctl enable kubelet; sudo systemctl start kubelet
3838
}
3939

0 commit comments

Comments
 (0)