+idle
This commit is contained in:
parent
e3d346cf6a
commit
9ba9a4f70c
3 changed files with 5 additions and 2 deletions
|
@ -7,4 +7,4 @@ roles_path = roles
|
||||||
library = library
|
library = library
|
||||||
[connection]
|
[connection]
|
||||||
pipelining=True
|
pipelining=True
|
||||||
|
control_path = /tmp/%%r@%%h:%%p
|
||||||
|
|
|
@ -3,6 +3,7 @@ bootflag='/.manufactured'
|
||||||
groot='/opt/coins-demo'
|
groot='/opt/coins-demo'
|
||||||
|
|
||||||
k8sDemoWA () {
|
k8sDemoWA () {
|
||||||
|
reset
|
||||||
echo 'Disabling swap space...'
|
echo 'Disabling swap space...'
|
||||||
sync && swapoff -a && sed -i '/ swap / s/^/#/' /etc/fstab
|
sync && swapoff -a && sed -i '/ swap / s/^/#/' /etc/fstab
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ Description=Manufacturing service
|
||||||
After=serial-getty@ttyS0.service
|
After=serial-getty@ttyS0.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=idle
|
||||||
ExecStart=/opt/coins-demo/contrib/firstboot.sh
|
ExecStart=/opt/coins-demo/contrib/firstboot.sh
|
||||||
StandardInput=tty
|
StandardInput=tty
|
||||||
StandardOutput=tty
|
StandardOutput=tty
|
||||||
|
@ -11,6 +11,8 @@ TTYPath=/dev/ttyS0
|
||||||
TTYReset=yes
|
TTYReset=yes
|
||||||
#TTYVHangup=yes
|
#TTYVHangup=yes
|
||||||
KillMode=none
|
KillMode=none
|
||||||
|
TimeoutSec=0
|
||||||
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue