cat <<EOF > /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=http://yum.kubernetes.io/repos/kubernetes-el7-x86_64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Commands for MYSQL with mediatomb database | |
# create user 'mt'@'%' identified by 'mt'; | |
# grant select on mediatomb.* to 'mt'@'%'; | |
cmd=$1 | |
catalog=$2 | |
mediatomb_ip=192.168.7.10 | |
mtombdb="mysql -h $mediatomb_ip mediatomb -umt -pmt" |