Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions user-environment/user-environment.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright 2015 Google, Inc.
# Copyright 2015,2016,2018,2019,2020,2024 Google, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,9 +27,9 @@ function update_apt_get() {
return 1
}

## Only install customize master node by default.
## Only install customize master node(s) by default.
## Delete to customize all nodes.
[[ "${HOSTNAME}" =~ -m$ ]] || exit 0
[[ "$(hostname -s)" =~ "-m$" ]] || [[ "$(hostname -s)" =~ "-m-[0-9]+$" ]] || exit 0

## Make global changes here
update_apt_get
Expand Down