This commit is contained in:
D4rk4 2020-07-31 16:30:17 +02:00
parent e3d346cf6a
commit 9ba9a4f70c
3 changed files with 5 additions and 2 deletions

View file

@ -7,4 +7,4 @@ roles_path = roles
library = library
[connection]
pipelining=True
control_path = /tmp/%%r@%%h:%%p

View file

@ -3,6 +3,7 @@ bootflag='/.manufactured'
groot='/opt/coins-demo'
k8sDemoWA () {
reset
echo 'Disabling swap space...'
sync && swapoff -a && sed -i '/ swap / s/^/#/' /etc/fstab
}

View file

@ -3,7 +3,7 @@ Description=Manufacturing service
After=serial-getty@ttyS0.service
[Service]
Type=oneshot
Type=idle
ExecStart=/opt/coins-demo/contrib/firstboot.sh
StandardInput=tty
StandardOutput=tty
@ -11,6 +11,8 @@ TTYPath=/dev/ttyS0
TTYReset=yes
#TTYVHangup=yes
KillMode=none
TimeoutSec=0
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target