diff --git a/vm/firstboot.sh b/vm/firstboot.sh index 8a2ff2b6..52672aa2 100755 --- a/vm/firstboot.sh +++ b/vm/firstboot.sh @@ -6,7 +6,7 @@ else ID=unknown fi UBUNTU_VERSION="$VERSION_ID" -if [ "$ID" == "debian" ]; then +if [ -d "/run/systemd/system/" ]; then SYSTEMD="yes" else SYSTEMD="no"