From 4bbeec1a58ca8013e441b8d02dc90ded37831e2e Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Tue, 15 Aug 2023 14:11:27 +0530 Subject: [PATCH] fix useradd --- includes/post-install.ksi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/post-install.ksi b/includes/post-install.ksi index bc0060d..8ca479c 100644 --- a/includes/post-install.ksi +++ b/includes/post-install.ksi @@ -10,7 +10,7 @@ DEFAULT_USERNAME='rocky' DEFAULT_PASSWORD='rockylinux' DEFAULT_GROUPS='wheel' -useradd --comment "Rocky Linux" \ +$(command -v useradd) --comment "Rocky Linux" \ --uid 1000 \ --create-home \ --user-group "${DEFAULT_USERNAME}" \