Introducing systemd mfg.service
This commit is contained in:
parent
5adc1b90ef
commit
7e9d5f0586
4 changed files with 25 additions and 9 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
bootflag='/.manufactured'
|
||||
groot='/opt/coins-demo'
|
||||
|
||||
k8sDemoWA () {
|
||||
|
@ -11,5 +12,9 @@ ansible () {
|
|||
ansible-playbook bootstrap-node.yml && \
|
||||
ansible-playbook init-cluster.yml
|
||||
}
|
||||
k8sDemoWA;
|
||||
ansible;
|
||||
|
||||
if [ ! -f ${bootflag} ]; then
|
||||
touch ${bootflag}
|
||||
k8sDemoWA;
|
||||
ansible;
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue