mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Merge pull request #1112 from filbranden/vagrant_salt_master2
Redirect output of `systemctl enable` to stdout
This commit is contained in:
commit
0b4581e98d
@ -86,7 +86,9 @@ EOF
|
|||||||
#
|
#
|
||||||
# This is used to inform the cloud provider used in the vagrant cluster
|
# This is used to inform the cloud provider used in the vagrant cluster
|
||||||
yum install -y salt-api
|
yum install -y salt-api
|
||||||
systemctl enable salt-api
|
# Set log level to a level higher than "info" to prevent the message about
|
||||||
|
# enabling the service (which is not an error) from being printed to stderr.
|
||||||
|
SYSTEMD_LOG_LEVEL=notice systemctl enable salt-api
|
||||||
systemctl start salt-api
|
systemctl start salt-api
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user