+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
|
||||
[connection]
|
||||
pipelining=True
|
||||
|
||||
control_path = /tmp/%%r@%%h:%%p
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue