diff --git a/stage1/init/path.go b/stage1/init/path.go index db6db01..cd85418 100644 --- a/stage1/init/path.go +++ b/stage1/init/path.go @@ -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