Add missing $ in usermod command
This commit is contained in:
parent
a9b5239528
commit
c878d1729f
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ yes y | sudo pacman \
|
||||||
--sync --clean --clean
|
--sync --clean --clean
|
||||||
|
|
||||||
msg "Set root password (Default: archriscv)..."
|
msg "Set root password (Default: archriscv)..."
|
||||||
sudo usermod --root (realpath ./rootfs) --password $(perl -e "print crypt('archriscv','yescrypt')") root
|
sudo usermod --root $(realpath ./rootfs) --password $(perl -e "print crypt('archriscv','yescrypt')") root
|
||||||
|
|
||||||
msg "Compressing rootfs..."
|
msg "Compressing rootfs..."
|
||||||
sudo bsdtar --create --zstd --verbose --xattrs --acls -f "archriscv-$(date --rfc-3339=date).tar.zst" -C rootfs/ .
|
sudo bsdtar --create --zstd --verbose --xattrs --acls -f "archriscv-$(date --rfc-3339=date).tar.zst" -C rootfs/ .
|
||||||
|
|
Loading…
Add table
Reference in a new issue