Commit 17f9592a authored by BrLi's avatar BrLi
Browse files

use full path for command inside nspawn

parent 43ae1cba
......@@ -131,7 +131,7 @@ create_chroot() {
title "User setup"
status_start "Adding user: ${USER}..."
sudo systemd-nspawn -qjD $chroot_dir \
useradd -g users -u "$(id -u)" --home-dir "/$chakrafolder" --create-home "$USER"
/usr/sbin/useradd -g users -u "$(id -u)" --home-dir "/$chakrafolder" --create-home "$USER"
status_start "Setting up /etc/sudoers..."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment