mirror of
https://github.com/clearlinux/rkt.git
synced 2026-09-06 13:51:45 +00:00
stage1/init: use short hash in systemd service unit name
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ const (
|
||||
|
||||
// ServiceUnitName returns a systemd service unit name for the given imageID
|
||||
func ServiceUnitName(imageID types.Hash) string {
|
||||
return imageID.String() + ".service"
|
||||
return types.ShortHash(imageID.String()) + ".service"
|
||||
}
|
||||
|
||||
// ServiceUnitPath returns the path to the systemd service file for the given
|
||||
|
||||
Reference in New Issue
Block a user