[baseimage]: /host unmount failed in VM during reboot (#4865)

Added a check further to make the services to stop appropriately before unmount.

Fix #4651
This commit is contained in:
rkdevi27 2020-07-15 04:04:19 +05:30 committed by GitHub
parent 46cc6968d7
commit df740b3653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
[Unit]
After=var-log.mount host.mount
After=var-log.mount host.mount local-fs.target
[Socket]
ExecStopPre=/usr/bin/host_umount.sh journal_stop