Introducing systemd mfg.service

This commit is contained in:
D4rk4 2020-07-31 15:32:43 +02:00
parent 5adc1b90ef
commit 7e9d5f0586
4 changed files with 25 additions and 9 deletions

View file

@ -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